Skip to content

Commit

Permalink
Actions workflow fixes (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman authored Aug 4, 2022
2 parents 29a168a + 29cd9cb commit 835ebbf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v3
- uses: actions/setup-python@v4
with:
python-version-file: .github/workflows/.python-version

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

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1.5
if: "!github.event.release.prerelease"
with:
username: __token__
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand Down

0 comments on commit 835ebbf

Please sign in to comment.