File tree Expand file tree Collapse file tree 1 file changed +29
-29
lines changed
Expand file tree Collapse file tree 1 file changed +29
-29
lines changed Original file line number Diff line number Diff line change 1- name : Publish
2-
3- on :
4- release :
5- types :
6- - published
7-
8- jobs :
9- publish :
10- runs-on : ubuntu-latest
11- services :
12- redis :
13- image : redis
14- ports :
15- - 6379:6379
16- steps :
17- - uses : actions/checkout@v3
18- - name : Version
19- run : echo "VERSION=${GITHUB_REF:10}+${GITHUB_SHA::8}" >> $GITHUB_ENV
20- - name : Setup
21- uses : actions/setup-dotnet@v3
22- with :
23- dotnet-version : 7
24- - name : Build
25- run : dotnet build -c Release
26- - name : Test
27- run : dotnet test
28- - name : Publish
29- run : dotnet nuget push "**/*.nupkg" -k ${{ secrets.NUGET_KEY }} -n -s https://api.nuget.org/v3/index.json
1+ name : Publish
2+
3+ on :
4+ release :
5+ types :
6+ - published
7+
8+ jobs :
9+ publish :
10+ runs-on : ubuntu-latest
11+ services :
12+ redis :
13+ image : redis
14+ ports :
15+ - 6379:6379
16+ steps :
17+ - uses : actions/checkout@v3
18+ - name : Version
19+ run : echo "VERSION=${GITHUB_REF:10}+${GITHUB_SHA::8}" >> $GITHUB_ENV
20+ - name : Setup
21+ uses : actions/setup-dotnet@v3
22+ with :
23+ dotnet-version : 7
24+ - name : Build
25+ run : dotnet build -c Release
26+ - name : Test
27+ run : dotnet test
28+ - name : Publish
29+ run : 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