File tree Expand file tree Collapse file tree 2 files changed +12
-29
lines changed Expand file tree Collapse file tree 2 files changed +12
-29
lines changed Original file line number Diff line number Diff line change @@ -5,20 +5,10 @@ on: push
55jobs :
66 build :
77 runs-on : ubuntu-latest
8- env :
9- L1L2RedisCache__Configuration : localhost
10- services :
11- redis :
12- image : redis
13- ports :
14- - 6379:6379
158 steps :
169 - uses : actions/checkout@v4
17- - name : Setup
18- uses : actions/setup-dotnet@v4
19- with :
20- dotnet-version : 8
21- - name : Build
22- run : dotnet build -c Release
2310 - name : Test
24- run : dotnet test
11+ uses :
devcontainers/[email protected] 12+ with :
13+ push : never
14+ runCmd : dotnet test
Original file line number Diff line number Diff line change 88jobs :
99 publish :
1010 runs-on : ubuntu-latest
11- env :
12- L1L2RedisCache__Configuration : localhost
13- services :
14- redis :
15- image : redis
16- ports :
17- - 6379:6379
1811 steps :
1912 - uses : actions/checkout@v4
2013 - name : Version
2114 run : echo "VERSION=${GITHUB_REF:10}+${GITHUB_SHA::8}" >> $GITHUB_ENV
22- - name : Setup
23- uses : actions/setup-dotnet@v4
24- with :
25- dotnet-version : 8
26- - name : Build
27- run : dotnet build -c Release
2815 - name : Test
29- run : dotnet test
16+ uses :
devcontainers/[email protected] 17+ with :
18+ push : never
19+ runCmd : dotnet test
3020 - name : Publish
31- run : dotnet nuget push "**/*.nupkg" -k ${{ secrets.NUGET_KEY }} -n -s https://api.nuget.org/v3/index.json --skip-duplicate
21+ uses :
devcontainers/[email protected] 22+ with :
23+ push : never
24+ runCmd : dotnet build -c Release && dotnet nuget push "**/*.nupkg" -k ${{ secrets.NUGET_KEY }} -n -s https://api.nuget.org/v3/index.json --skip-duplicate
You can’t perform that action at this time.
0 commit comments