File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 8
8
jobs :
9
9
build-n-publish :
10
10
name : Build and publish to PyPI and TestPyPI
11
- runs-on : ubuntu-18 .04
11
+ runs-on : ubuntu-20 .04
12
12
steps :
13
- - uses : actions/checkout@master
13
+ - uses : actions/checkout@main
14
14
- name : Set up Python 3.7
15
15
uses : actions/setup-python@v1
16
16
with :
@@ -26,14 +26,14 @@ jobs:
26
26
python setup.py sdist
27
27
28
28
- name : Publish distribution to Test PyPI
29
- uses : pypa/gh-action-pypi-publish@master
29
+ uses : pypa/gh-action-pypi-publish@release/v1
30
30
with :
31
31
user : __token__
32
32
password : ${{ secrets.TEST_PYPI_API_TOKEN }}
33
33
repository_url : https://test.pypi.org/legacy/
34
34
- name : Publish distribution to PyPI
35
35
if : startsWith(github.ref, 'refs/tags')
36
- uses : pypa/gh-action-pypi-publish@master
36
+ uses : pypa/gh-action-pypi-publish@release/v1
37
37
with :
38
38
user : __token__
39
39
password : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments