We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d0e5bf commit aa43e97Copy full SHA for aa43e97
1 file changed
.github/workflows/build.yml
@@ -1,6 +1,12 @@
1
name: Build
2
3
on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ publish_artifacts:
7
+ description: 'Publish artifacts (Y|N)'
8
+ required: true
9
+ default: 'N'
10
release:
11
types: [published]
12
push:
@@ -82,12 +88,13 @@ jobs:
82
88
publish:
83
89
runs-on: ubuntu-latest
84
90
needs: build
85
- if: github.event_name == 'release' || startsWith(github.ref, 'refs/tags/')
91
+ if: github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && github.event.inputs.publish_artifacts == 'Y')
86
92
steps:
87
93
- name: Download a distribution artifact
- uses: actions/download-artifact@v2
94
+ uses: actions/download-artifact@v4
95
with:
- name: dist
96
+ pattern: dist-*
97
+ merge-multiple: true
98
path: dist
99
100
- name: Use Python 3.12
0 commit comments