File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
jobs :
6
6
build-n-publish :
7
7
name : Build and publish package to PyPI and TestPyPI
8
- runs-on : ubuntu-18 .04
8
+ runs-on : ubuntu-22 .04
9
9
steps :
10
10
- uses : actions/checkout@master
11
11
- name : Set up Python 3.7
@@ -27,14 +27,14 @@ jobs:
27
27
--out-dir dist/
28
28
.
29
29
- name : Publish package to Test PyPI
30
- uses : pypa/gh-action-pypi-publish@master
30
+ uses : pypa/gh-action-pypi-publish@release/v1
31
31
with :
32
32
password : ${{ secrets.test_pypi_token }}
33
33
repository_url : https://test.pypi.org/legacy/
34
34
skip_existing : true
35
35
- name : Publish package to PyPI
36
36
if : startsWith(github.ref, 'refs/tags')
37
- uses : pypa/gh-action-pypi-publish@master
37
+ uses : pypa/gh-action-pypi-publish@release/v1
38
38
with :
39
39
password : ${{ secrets.pypi_token }}
40
40
skip_existing : true
You can’t perform that action at this time.
0 commit comments