File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 2727 source-url : https://nuget.pkg.github.com/LEGO/index.json
2828 env :
2929 NUGET_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
30-
31- - name : Get last char shortened GITHUB_RUN_ID
32- id : slug
33- run : echo "::set-output name=RUNID::$(echo ${GITHUB_RUN_ID} | cut -c1-9)"
34-
30+
3531 - name : Build ${{ matrix.package-name }} project and pack NuGet package
36- run : dotnet pack src/${{ matrix.package-name }}/${{ matrix.package-name }}.csproj -c Release -o out-${{ matrix.package-name }} -p:PackageVersion=0.1.${{ steps.slug.outputs.RUNID }}.$ GITHUB_RUN_NUMBER-prerelease
32+ run : dotnet pack src/${{ matrix.package-name }}/${{ matrix.package-name }}.csproj -c Release -o out-${{ matrix.package-name }} -p:PackageVersion=0.1.$GITHUB_RUN_NUMBER.0 -prerelease
3733
3834 - name : Push generated package to GitHub Packages registry
3935 run : dotnet nuget push out-${{ matrix.package-name }}/*.nupkg --skip-duplicate -n --api-key ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments