File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 1212 - uses : actions/setup-dotnet@v1
1313 with :
1414 dotnet-version : ' 5.0.100'
15- - run : arrTag=(${GITHUB_REF//\// })
16- - run : VERSION="${arrTag[2]}"
17- - run : echo "Version is $VERSION"
18- - run : dotnet pack src/prometheus-net.DotNetRuntime --include-symbols -c "Release" -p:PackageVersion=$VERSION --output "build/"
19- - run : dotnet nuget push "build/prometheus-net.DotNetRuntime.*.symbols.nupkg" -k ${{ secrets.NUGET_API_KEY }} -s "https://api.nuget.org/v3/index.json" -n true
15+ - run : |
16+ echo "Github ref is ${GITHUB_REF}"
17+ arrTag=(${GITHUB_REF//\// })
18+ VERSION="${arrTag[2]}"
19+ echo "Version: $VERSION"
20+ dotnet pack src/prometheus-net.DotNetRuntime --include-symbols -c "Release" -p:PackageVersion=$VERSION --output "build/"
21+ dotnet nuget push "build/prometheus-net.DotNetRuntime.*.symbols.nupkg" -k ${{ secrets.NUGET_API_KEY }} -s "https://api.nuget.org/v3/index.json" -n true
You can’t perform that action at this time.
0 commit comments