Skip to content

Commit

Permalink
fix(deprecation): fix deprecation warnings on publish and test_publis…
Browse files Browse the repository at this point in the history
…h actions
  • Loading branch information
faaraaad committed Jul 1, 2024
1 parent 9e76aba commit 05921a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
uses: actions/checkout@v4
- name: Setup Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install dependencies
Expand All @@ -22,7 +22,7 @@ jobs:
- name: Build
run: poetry build
- name: Publish (production)
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/publish_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
uses: actions/checkout@v4
- name: Setup Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install dependencies
Expand All @@ -20,7 +20,7 @@ jobs:
- name: Build
run: poetry build
- name: Publish (test)
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
Expand Down

0 comments on commit 05921a3

Please sign in to comment.