Skip to content

Commit 835ebbf

Browse files
authored
Actions workflow fixes (#29)
2 parents 29a168a + 29cd9cb commit 835ebbf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v3
1515

16-
- uses: actions/setup-python@v3
16+
- uses: actions/setup-python@v4
1717
with:
1818
python-version-file: .github/workflows/.python-version
1919

@@ -27,12 +27,12 @@ jobs:
2727
uses: pypa/gh-action-pypi-publish@release/v1.5
2828
if: "github.event.release.prerelease"
2929
with:
30-
username: __token__
30+
user: __token__
3131
password: ${{ secrets.PYPI_TEST_API_TOKEN }}
3232

3333
- name: Publish to PyPI
3434
uses: pypa/gh-action-pypi-publish@release/v1.5
3535
if: "!github.event.release.prerelease"
3636
with:
37-
username: __token__
37+
user: __token__
3838
password: ${{ secrets.PYPI_API_TOKEN }}

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v3
1515

1616
- name: Set up Python ${{ matrix.python-version }}
17-
uses: actions/setup-python@v3
17+
uses: actions/setup-python@v4
1818
with:
1919
python-version: ${{ matrix.python-version }}
2020

0 commit comments

Comments
 (0)