File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ jobs:
268268 publish :
269269 name : Publish NuGet
270270 needs : [pack, test-package-driver, test-package-app]
271- if : startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && inputs.publish)
271+ if : ${{ (github.event_name != 'workflow_dispatch' && startsWith(github.ref, 'refs/tags/v')) || (github.event_name == 'workflow_dispatch' && inputs.publish) }}
272272 runs-on : windows-2022
273273 permissions :
274274 contents : read
@@ -308,12 +308,14 @@ jobs:
308308 github-release :
309309 name : Upload GitHub Release Assets
310310 needs : [pack, test-package-driver, test-package-app, test-release-native-cmake]
311- if : startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && inputs.github_release)
311+ if : ${{ (github.event_name != 'workflow_dispatch' && startsWith(github.ref, 'refs/tags/v')) || (github.event_name == 'workflow_dispatch' && inputs.github_release) }}
312312 runs-on : windows-2022
313313 permissions :
314314 contents : write
315315
316316 steps :
317+ - uses : actions/checkout@v5
318+
317319 - uses : actions/download-artifact@v7
318320 with :
319321 name : crtsys-release-assets-${{ needs.pack.outputs.package_version }}
You can’t perform that action at this time.
0 commit comments