Skip to content

Commit

Permalink
Upload gha artifact steps to use v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Goobley committed Oct 18, 2024
1 parent 3e3603a commit 62e372d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- run: python -m pip install pep517
- run: python -m pep517.build --source .

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
path: dist/*.tar.gz

Expand Down Expand Up @@ -46,6 +46,6 @@ jobs:
CIBW_BUILD_VERBOSITY: 1
CIBW_ARCHS_MACOS: x86_64 universal2

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
path: wheelhouse/*.whl
6 changes: 3 additions & 3 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- run: python -m pip install pep517
- run: python -m pep517.build --source .

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
path: dist/*.tar.gz

Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
CIBW_BUILD_VERBOSITY: 1
CIBW_ARCHS_MACOS: x86_64 universal2

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
path: wheelhouse/*.whl

Expand All @@ -58,7 +58,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Pack docs
run: tar -cvf docs.tar docs/_build/html

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: docs
path: docs.tar
Expand All @@ -46,7 +46,7 @@ jobs:
with:
ref: gh-pages

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: docs
path: NewDocs
Expand Down

0 comments on commit 62e372d

Please sign in to comment.