File tree Expand file tree Collapse file tree 4 files changed +135
-0
lines changed Expand file tree Collapse file tree 4 files changed +135
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : nuget
4
+ directory : " /"
5
+ schedule :
6
+ interval : daily
7
+ time : " 02:00"
8
+ open-pull-requests-limit : 10
9
+ target-branch : " develop"
Original file line number Diff line number Diff line change
1
+ name : SourceSDK.ENV.Editor - develop
2
+
3
+ on :
4
+ push :
5
+ branches : [ develop ]
6
+
7
+ env :
8
+ ACTIONS_ALLOW_UNSECURE_COMMANDS : true
9
+ DOTNET_CLI_TELEMETRY_OPTOUT : true
10
+ DOTNET_NOLOGO : true
11
+
12
+ jobs :
13
+ build :
14
+ runs-on : windows-latest
15
+ steps :
16
+
17
+ - name : Set the value
18
+ run : echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV
19
+
20
+ - name : Checkout Code
21
+ uses : actions/checkout@master
22
+ with :
23
+ clean : true
24
+ fetch-depth : 0
25
+ lfs : true
26
+ submodules : true
27
+
28
+ - name : Setup dotnet
29
+ uses : actions/setup-dotnet@v2
30
+ with :
31
+ dotnet-version : ' 6.0.x'
32
+ include-prerelease : true
33
+ source-url : https://nuget.pkg.github.com/colhountech/index.json
34
+ env :
35
+ NUGET_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
36
+
37
+ - name : Restore NuGet Packages
38
+ run : dotnet restore src/SourceSDK.ENV.Editor.csproj
39
+
40
+ - name : Build Debug
41
+ run : dotnet build src/SourceSDK.ENV.Editor.sln --configuration Debug --force --no-incremental --nologo
Original file line number Diff line number Diff line change
1
+ name : SourceSDK.ENV.Editor - master
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+
7
+ env :
8
+ ACTIONS_ALLOW_UNSECURE_COMMANDS : true
9
+ DOTNET_CLI_TELEMETRY_OPTOUT : true
10
+ DOTNET_NOLOGO : true
11
+
12
+ jobs :
13
+ build :
14
+ runs-on : windows-latest
15
+ steps :
16
+
17
+ - name : Set the value
18
+ run : echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV
19
+
20
+ - name : Checkout Code
21
+ uses : actions/checkout@master
22
+ with :
23
+ clean : true
24
+ fetch-depth : 0
25
+ lfs : true
26
+ submodules : true
27
+
28
+ - name : Setup dotnet
29
+ uses : actions/setup-dotnet@v2
30
+ with :
31
+ dotnet-version : ' 6.0.x'
32
+ include-prerelease : true
33
+ source-url : https://nuget.pkg.github.com/colhountech/index.json
34
+ env :
35
+ NUGET_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
36
+
37
+ - name : Restore NuGet Packages
38
+ run : dotnet restore src/SourceSDK.ENV.Editor.csproj
39
+
40
+ - name : Build Release
41
+ run : dotnet build src/SourceSDK.ENV.Editor.sln --configuration Release --force --no-incremental --nologo
Original file line number Diff line number Diff line change
1
+ name : SourceSDK.ENV.Editor - pull request to master
2
+
3
+ on :
4
+ pull_request :
5
+ branches : [ master ]
6
+
7
+ env :
8
+ ACTIONS_ALLOW_UNSECURE_COMMANDS : true
9
+ DOTNET_CLI_TELEMETRY_OPTOUT : true
10
+ DOTNET_NOLOGO : true
11
+
12
+ jobs :
13
+ build :
14
+ runs-on : windows-latest
15
+ steps :
16
+
17
+ - name : Set the value
18
+ run : echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV
19
+
20
+ - name : Checkout Code
21
+ uses : actions/checkout@master
22
+ with :
23
+ clean : true
24
+ fetch-depth : 0
25
+ lfs : true
26
+ submodules : true
27
+
28
+ - name : Setup dotnet
29
+ uses : actions/setup-dotnet@v2
30
+ with :
31
+ dotnet-version : ' 6.0.x'
32
+ include-prerelease : true
33
+ source-url : https://nuget.pkg.github.com/colhountech/index.json
34
+ env :
35
+ NUGET_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
36
+
37
+ - name : Restore NuGet Packages
38
+ run : dotnet restore src/SourceSDK.ENV.Editor.csproj
39
+
40
+ - name : Build Debug
41
+ run : dotnet build src/SourceSDK.ENV.Editor.sln --configuration Debug --force --no-incremental --nologo
42
+
43
+ - name : Build Release
44
+ run : dotnet build src/SourceSDK.ENV.Editor.sln --configuration Release --force --no-incremental --nologo
You can’t perform that action at this time.
0 commit comments