mirror of
https://github.com/EpicMorg/SourceSDK.ENV.Editor.git
synced 2025-07-02 06:49:27 +03:00
dependabot + gha
This commit is contained in:
parent
0c4db49d39
commit
7a595ab8d7
9
.github/dependabot.yml
vendored
Normal file
9
.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: nuget
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: daily
|
||||||
|
time: "02:00"
|
||||||
|
open-pull-requests-limit: 10
|
||||||
|
target-branch: "develop"
|
40
.github/workflows/develop.yml
vendored
Normal file
40
.github/workflows/develop.yml
vendored
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
name: SourceSDK.ENV.Editor - develop
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ develop ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: windows-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: Set the value
|
||||||
|
run: echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Checkout Code
|
||||||
|
uses: actions/checkout@master
|
||||||
|
with:
|
||||||
|
clean: true
|
||||||
|
fetch-depth: 0
|
||||||
|
lfs: true
|
||||||
|
submodules: true
|
||||||
|
|
||||||
|
- name: Add msbuild to PATH
|
||||||
|
uses: microsoft/setup-msbuild@v1.1
|
||||||
|
with:
|
||||||
|
vs-prerelease: true
|
||||||
|
msbuild-architecture: x86
|
||||||
|
|
||||||
|
- name: Setup NuGet
|
||||||
|
uses: NuGet/setup-nuget@v1
|
||||||
|
|
||||||
|
- name: Restore NuGet Packages
|
||||||
|
run: nuget restore src/SourceSDK.ENV.Editor.sln
|
||||||
|
|
||||||
|
- name: Build Debug
|
||||||
|
run: msbuild src/SourceSDK.ENV.Editor.sln /p:Configuration=Debug
|
40
.github/workflows/master.yml
vendored
Normal file
40
.github/workflows/master.yml
vendored
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
name: SourceSDK.ENV.Editor - master
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: windows-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: Set the value
|
||||||
|
run: echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Checkout Code
|
||||||
|
uses: actions/checkout@master
|
||||||
|
with:
|
||||||
|
clean: true
|
||||||
|
fetch-depth: 0
|
||||||
|
lfs: true
|
||||||
|
submodules: true
|
||||||
|
|
||||||
|
- name: Add msbuild to PATH
|
||||||
|
uses: microsoft/setup-msbuild@v1.1
|
||||||
|
with:
|
||||||
|
vs-prerelease: true
|
||||||
|
msbuild-architecture: x86
|
||||||
|
|
||||||
|
- name: Setup NuGet
|
||||||
|
uses: NuGet/setup-nuget@v1
|
||||||
|
|
||||||
|
- name: Restore NuGet Packages
|
||||||
|
run: nuget restore src/SourceSDK.ENV.Editor.sln
|
||||||
|
|
||||||
|
- name: Build Release
|
||||||
|
run: msbuild src/SourceSDK.ENV.Editor.sln /p:Configuration=Release
|
43
.github/workflows/pr.yml
vendored
Normal file
43
.github/workflows/pr.yml
vendored
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
name: SourceSDK.ENV.Editor - pull request to master
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: windows-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: Set the value
|
||||||
|
run: echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Checkout Code
|
||||||
|
uses: actions/checkout@master
|
||||||
|
with:
|
||||||
|
clean: true
|
||||||
|
fetch-depth: 0
|
||||||
|
lfs: true
|
||||||
|
submodules: true
|
||||||
|
|
||||||
|
- name: Add msbuild to PATH
|
||||||
|
uses: microsoft/setup-msbuild@v1.1
|
||||||
|
with:
|
||||||
|
vs-prerelease: true
|
||||||
|
msbuild-architecture: x86
|
||||||
|
|
||||||
|
- name: Setup NuGet
|
||||||
|
uses: NuGet/setup-nuget@v1
|
||||||
|
|
||||||
|
- name: Restore NuGet Packages
|
||||||
|
run: nuget restore src/SourceSDK.ENV.Editor.sln
|
||||||
|
|
||||||
|
- name: Build Debug
|
||||||
|
run: msbuild src/SourceSDK.ENV.Editor.sln /p:Configuration=Debug
|
||||||
|
|
||||||
|
- name: Build Release
|
||||||
|
run: msbuild src/SourceSDK.ENV.Editor.sln /p:Configuration=Release
|
Loading…
x
Reference in New Issue
Block a user