Skip to content

Commit

Permalink
Update to actions/upload-artifact@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
overfl0 committed Apr 26, 2024
1 parent c06ee25 commit 54d37fc
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ jobs:
- name: Make Sdist
run: python setup.py sdist

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

build_wheels:
Expand Down Expand Up @@ -74,10 +75,21 @@ jobs:
CIBW_TEST_COMMAND: pytest {project}
CIBW_TEST_SKIP: "cp38-macosx_*:arm64"

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: artifact-${{ matrix.os }}
path: ./wheelhouse/*.whl

merge_artifacts:
runs-on: ubuntu-latest
needs: [make_sdist, build_wheels]
steps:
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: armaclass
pattern: artifact-*

# upload_all:
# needs: [ build_wheels, make_sdist ]
# runs-on: ubuntu-latest
Expand Down

0 comments on commit 54d37fc

Please sign in to comment.