Skip to content

Commit

Permalink
use v4 upload/download actions
Browse files Browse the repository at this point in the history
  • Loading branch information
braised-babbage committed Oct 1, 2024
1 parent b76e62e commit 96a7f0f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-ast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@ jobs:
- name: Build package
run: python -m build --wheel --sdist .

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: openpulse-python-wheel
path: ./source/openpulse/dist/*.whl
if-no-files-found: error

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: openpulse-python-sdist
path: ./source/openpulse/dist/*.tar.gz
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-ast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
# The version checker uses 'importlib.metadata' which is Python 3.10+.
python-version: '3.10'

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: openpulse-python-wheel

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: openpulse-python-sdist

Expand Down Expand Up @@ -59,4 +59,4 @@ jobs:
set -e
source .venv/bin/activate
python3 -mpip install -U twine
twine upload openpulse-*.whl openpulse-*.tar.gz
twine upload openpulse-*.whl openpulse-*.tar.gz
2 changes: 1 addition & 1 deletion .github/workflows/tests-ast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: openpulse-python-wheel
path: ./source/openpulse/
Expand Down

0 comments on commit 96a7f0f

Please sign in to comment.