File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 10
10
11
11
jobs :
12
12
build :
13
+ if : ${{ false }}
13
14
runs-on : ubuntu-latest
14
15
steps :
15
16
- name : Checkout
16
17
uses : actions/checkout@v4
17
18
with :
18
- ref : ${{ github.ref_name}}
19
+ ref : ${{ github.ref_name }}
19
20
- name : PyPI Publish
20
21
run : |
21
22
chmod +x ./scripts/pypi-publish.sh
22
- ./scripts/pypi-publish.sh '${{secrets.PYPI_UPLOAD}}'
23
+ ./scripts/pypi-publish.sh '${{ secrets.PYPI_UPLOAD }}'
23
24
- name : Create Release File
24
25
run : echo ${{ github.sha }} > Release.txt
25
26
- name : Release
Original file line number Diff line number Diff line change
1
+ name : PyPI Publish on Release
2
+
3
+ permissions :
4
+ contents : write
5
+
6
+ on :
7
+ release :
8
+ types : [published]
9
+
10
+ jobs :
11
+ build :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Checkout
15
+ uses : actions/checkout@v4
16
+ with :
17
+ ref : ${{ github.ref_name }}
18
+ - name : PyPI Publish
19
+ run : |
20
+ chmod +x ./scripts/pypi-publish.sh
21
+ ./scripts/pypi-publish.sh '${{ secrets.PYPI_UPLOAD }}'
You can’t perform that action at this time.
0 commit comments