Skip to content

Commit

Permalink
Fix GitHub workflow issues
Browse files Browse the repository at this point in the history
Update actions/upload-artifact@v4 and make upload artifact name unique with python version

Use actions/setup-python@v5 and python 3.13 in lint.yaml
  • Loading branch information
jnettels authored Jan 17, 2025
1 parent c8832d1 commit de8b30a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.13

- name: Install Python dependencies
run: pip install flake8
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: python setup.py sdist bdist_wheel
- name: Run twine check
run: twine check dist/*
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: tox-gh-actions-dist
name: tox-gh-actions-dist-python${{ matrix.python-version }}
path: dist

0 comments on commit de8b30a

Please sign in to comment.