File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 version="${version#v}"
3434 echo "PACKAGE_VERSION=$version" >> $GITHUB_ENV
3535
36- - name : Validate version format
36+ - name : Validate version format ${{ env.PACKAGE_VERSION }}
3737 run : |
3838 if ! [[ "$PACKAGE_VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-preview[0-9]+)?$ ]]; then
3939 echo "❌ Invalid version format: $PACKAGE_VERSION"
@@ -54,15 +54,15 @@ jobs:
5454 - name : Restore
5555 run : dotnet restore
5656
57- - name : Build
57+ - name : Build ${{ env.PACKAGE_VERSION }}
5858 run : dotnet build -c Release /p:Version=${PACKAGE_VERSION}
5959
60- - name : Test
60+ - name : Test ${{ env.PACKAGE_VERSION }}
6161 run : dotnet test -c Release /p:Version=${PACKAGE_VERSION} --no-restore --verbosity normal
6262
63- - name : Pack
63+ - name : Pack ${{ env.PACKAGE_VERSION }}
6464 run : dotnet pack -c Release /p:Version=${PACKAGE_VERSION} --no-restore --output .
6565
66- - name : Push
66+ - name : Push ${{ env.PACKAGE_VERSION }}
6767 if : ${{ github.event_name != 'workflow_dispatch' || inputs.pushEnabled }}
6868 run : dotnet nuget push OldBit.Beep.${PACKAGE_VERSION}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_KEY }}
You can’t perform that action at this time.
0 commit comments