Skip to content

Commit

Permalink
update version of python setup action
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Weber authored and Lucas Weber committed Apr 19, 2024
1 parent 8150bd6 commit 358b7a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:

# test the package before we deploy it anywhere
test-package:
name: Run tests in local repository
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -22,7 +23,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -34,7 +35,7 @@ jobs:

# publish the package to test.pypi.org
pypi-publish:
name: upload release to PyPI
name: Upload release to PyPI
needs: test-package
runs-on: ubuntu-latest
# Specifying a GitHub environment is optional, but strongly encouraged
Expand All @@ -47,7 +48,7 @@ jobs:
- name: Get the repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
- name: Update the package Version for testing
# https://stackoverflow.com/questions/54310050/how-to-version-build-artifacts-using-github-actions
run: |
Expand Down Expand Up @@ -75,7 +76,7 @@ jobs:

steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down

0 comments on commit 358b7a6

Please sign in to comment.