File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 - uses : actions/setup-dotnet@v1
1313 with :
1414 dotnet-version : ' 3.1.100'
15- - run : dotnet build -c Release
16- - run : dotnet test -c Release
17- - run : dotnet pack -c Release -o ${GITHUB_WORKSPACE}
18- - run : dotnet nuget push ${GITHUB_WORKSPACE}/*.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json
15+ - name : Get the version
16+ id : get_version
17+ run : echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
18+ - run : dotnet build -c Release -p:version=${{ steps.get_version.outputs.VERSION }} /nowarn:CS1591
19+ - run : dotnet test -c Release -p:version=${{ steps.get_version.outputs.VERSION }} /nowarn:CS1591
20+ - run : dotnet pack src/ -c Release -o ${GITHUB_WORKSPACE} -p:version=${{ steps.get_version.outputs.VERSION }} /nowarn:CS1591
21+ # - run: dotnet nuget push ${GITHUB_WORKSPACE}/*.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json
You can’t perform that action at this time.
0 commit comments