File tree 1 file changed +6
-11
lines changed
1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change 5
5
push :
6
6
tags : v[0-9]+.[0-9]+.[0-9]+
7
7
8
- workflow_dispatch :
9
-
10
-
11
8
12
9
jobs :
13
10
build :
@@ -34,23 +31,21 @@ jobs:
34
31
# TODO: Add logic to do github release too here
35
32
36
33
publish :
37
- name : Publish to TestPyPI
34
+ name : Publish to PyPI
38
35
runs-on : ubuntu-latest
36
+ needs :
37
+ - build
39
38
environment :
40
- # name: pypi
41
- name : testpypi
39
+ name : pypi
42
40
url : https://pypi.org/project/pyscript
43
41
permissions :
44
- id-token : ${{ secrets.PYPI_TOKEN }}
42
+ id-token : write
45
43
46
44
steps :
47
45
- name : Download all the dists
48
- uses : actions/download-artifacts @v3
46
+ uses : actions/download-artifact @v3
49
47
with :
50
48
name : python-package-distributions
51
49
path : dist/
52
50
- name : Publish release to PyPI
53
51
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