55 release :
66 types :
77 - published
8-
8+
99env :
1010 # Stop wasting time caching packages
1111 DOTNET_SKIP_FIRST_TIME_EXPERIENCE : true
1212 # Disable sending usage data to Microsoft
1313 DOTNET_CLI_TELEMETRY_OPTOUT : true
1414 # GitHub Packages Feed settings
15- GITHUB_FEED : https://nuget.pkg.github.com/koenbeuk /
16- GITHUB_USER : koenbeuk
15+ GITHUB_FEED : https://nuget.pkg.github.com/autoguru-au /
16+ GITHUB_USER : autoguru-au
1717 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
18-
18+
1919jobs :
2020 build :
2121 strategy :
2222 matrix :
2323 os : [ubuntu-latest, windows-latest, macos-latest]
24- version : [1, 2, 3]
25- include :
26- - version : 1
27- configuration : ReleaseV1
28- - version : 2
29- configuration : ReleaseV2
30- - version : 3
31- configuration : Release
32- runs-on : ${{ matrix.os }}
24+ runs-on : ${{ matrix.os }}
3325
3426 steps :
35- - uses : actions/checkout@v2
27+ - uses : actions/checkout@v4
3628 - name : Setup .NET Core
37- uses : actions/setup-dotnet@v1
29+ uses : actions/setup-dotnet@v4
3830 with :
3931 dotnet-version : 6.0.x
40- include-prerelease : True
4132 - name : Install dependencies
42- run : dotnet restore EntityFrameworkCore.Triggered.sln -p:Configuration=${{ matrix.configuration }}
33+ run : dotnet restore EntityFrameworkCore.Triggered.sln -p:Configuration=Release
4334 - name : Build
44- run : dotnet build --configuration ${{ matrix.configuration }} --no-restore EntityFrameworkCore.Triggered.sln
35+ run : dotnet build --configuration Release --no-restore EntityFrameworkCore.Triggered.sln
4536 - name : Test
46- run : dotnet test --configuration ${{ matrix.configuration }} --verbosity normal EntityFrameworkCore.Triggered.sln
37+ run : dotnet test --configuration Release --verbosity normal EntityFrameworkCore.Triggered.sln
4738 - name : Pack
4839 if : matrix.os == 'ubuntu-latest'
49- run : |
50- dotnet pack -v normal --configuration ${{ matrix.configuration }} --include-symbols --include-source -p:PackageVersion=${{ matrix.version }} -pre-$GITHUB_RUN_ID -o nupkg EntityFrameworkCore.Triggered.Core.slnf
40+ run : |
41+ dotnet pack -v normal --configuration Release --include-symbols --include-source -p:PackageVersion=3 -pre-$GITHUB_RUN_ID -o nupkg EntityFrameworkCore.Triggered.Core.slnf
5142 - name : Upload Artifact
5243 if : matrix.os == 'ubuntu-latest'
53- uses : actions/upload-artifact@v2
44+ uses : actions/upload-artifact@v4
5445 with :
5546 name : nupkg
5647 path : ./nupkg/*.nupkg
@@ -59,27 +50,26 @@ jobs:
5950 strategy :
6051 matrix :
6152 os : [ubuntu-latest, windows-latest, macos-latest]
62- runs-on : ${{ matrix.os }}
63-
53+ runs-on : ${{ matrix.os }}
54+
6455 steps :
65- - uses : actions/checkout@v2
56+ - uses : actions/checkout@v4
6657 - name : Setup .NET Core
67- uses : actions/setup-dotnet@v1
58+ uses : actions/setup-dotnet@v4
6859 with :
6960 dotnet-version : 6.0.x
70- include-prerelease : True
7161 - name : Install dependencies
7262 run : dotnet restore EntityFrameworkCore.Triggered.Samples.slnf
7363 - name : Build
74- run : dotnet build --configuration Release --no-restore EntityFrameworkCore.Triggered.Samples.slnf
75-
64+ run : dotnet build --configuration Release --no-restore EntityFrameworkCore.Triggered.Samples.slnf
65+
7666 prerelease :
7767 needs : build
7868 if : github.ref == 'refs/heads/master'
7969 runs-on : ubuntu-latest
8070 steps :
8171 - name : Download Artifact
82- uses : actions/download-artifact@v1
72+ uses : actions/download-artifact@v4
8373 with :
8474 name : nupkg
8575 - name : Push to GitHub Feed
0 commit comments