File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change 55 push :
66 tags : v[0-9]+.[0-9]+.[0-9]+
77
8- workflow_dispatch :
9-
10-
118
129jobs :
1310 build :
@@ -34,23 +31,21 @@ jobs:
3431 # TODO: Add logic to do github release too here
3532
3633 publish :
37- name : Publish to TestPyPI
34+ name : Publish to PyPI
3835 runs-on : ubuntu-latest
36+ needs :
37+ - build
3938 environment :
40- # name: pypi
41- name : testpypi
39+ name : pypi
4240 url : https://pypi.org/project/pyscript
4341 permissions :
44- id-token : ${{ secrets.PYPI_TOKEN }}
42+ id-token : write
4543
4644 steps :
4745 - name : Download all the dists
48- uses : actions/download-artifacts @v3
46+ uses : actions/download-artifact @v3
4947 with :
5048 name : python-package-distributions
5149 path : dist/
5250 - name : Publish release to PyPI
5351 uses : pypa/gh-action-pypi-publish@release/v1
54- # This is for testing
55- with :
56- repository-url : https://test.pypi.org/legacy/
You can’t perform that action at this time.
0 commit comments