File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -51,15 +51,12 @@ jobs:
5151 - name : Test
5252 run : dotnet test src/Base58Encoding.Tests/Base58Encoding.Tests.csproj --configuration Release --no-build --verbosity normal
5353
54- - name : Pack (with version)
54+ - name : Pack
5555 if : env.VERSION != ''
5656 run : dotnet pack src/Base58Encoding/Base58Encoding.csproj --configuration Release --no-build --output ./artifacts -p:PackageVersion=${{ env.VERSION }}
5757
58- - name : Pack (without version)
59- if : env.VERSION == ''
60- run : dotnet pack src/Base58Encoding/Base58Encoding.csproj --configuration Release --no-build --output ./artifacts
61-
6258 - name : Upload artifacts
59+ if : env.VERSION != ''
6360 uses : actions/upload-artifact@v4
6461 with :
6562 name : nupkg
6865 publish :
6966 needs : build
7067 runs-on : ubuntu-latest
71- # Only publish on version tags
72- if : startsWith(github.ref, 'refs/tags/v')
68+ # Only publish on version tags or manual trigger with version
69+ if : startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && github.event.inputs.version != '')
7370
7471 steps :
7572 - name : Download artifacts
You can’t perform that action at this time.
0 commit comments