Skip to content

Commit

Permalink
CI Update upload-artifact and download-artifact to v4 (#29211)
Browse files Browse the repository at this point in the history
  • Loading branch information
lesteve committed Jun 7, 2024
1 parent 5bc86b8 commit ea1e8c4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Upload Artifact
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lint-log
path: |
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:

- name: Download artifact
id: download-artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lint-log

Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,9 @@ jobs:
run: bash build_tools/wheels/build_wheels.sh

- name: Store artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: cibw-wheels-cp${{ matrix.python }}-${{ matrix.platform_id }}
path: wheelhouse/*.whl

update-tracker:
Expand Down Expand Up @@ -215,8 +216,9 @@ jobs:
SKLEARN_SKIP_NETWORK_TESTS: 1

- name: Store artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: cibw-sdist
path: dist/*.tar.gz

# Upload the wheels and the source distribution
Expand All @@ -233,9 +235,11 @@ jobs:
uses: actions/checkout@v3

- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
pattern: cibw-*
path: dist
merge-multiple: true

- name: Setup Python
uses: actions/setup-python@v5
Expand Down

0 comments on commit ea1e8c4

Please sign in to comment.