File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,18 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v4
13- - name : Version
14- run : echo "VERSION=${GITHUB_REF:10}+${GITHUB_SHA::8}" >> $GITHUB_ENV
1513 - name : Test
1614 uses :
devcontainers/[email protected] 1715 with :
1816 push : never
1917 runCmd : dotnet test
20- - name : Publish
21- uses :
devcontainers/[email protected] 18+ - name : Version
19+ run : echo "VERSION=${GITHUB_REF:10}+${GITHUB_SHA::8}" >> $GITHUB_ENV
20+ - name : Setup
21+ uses : actions/setup-dotnet@v4
2222 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
23+ dotnet-version : 9
24+ - name : Build
25+ run : dotnet build -c Release
26+ - name : Publish
27+ 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