Skip to content

Commit

Permalink
Filter artifacts by name, not file name
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Jan 9, 2024
1 parent 732c66f commit 633f5e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
path: ./dist/*.tar.gz
name: sdist
name: sdist.build

manylinux:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
name: ${{ matrix.python }}-manylinux_${{ matrix.platform }}
name: ${{ matrix.python }}-manylinux_${{ matrix.platform }}.build

- name: Set final commit status
uses: myrotvorets/set-commit-status-action@v2.0.0
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
- name: Save macOS wheel
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.python }}-macosx_x86_64
name: ${{ matrix.python }}-macosx_x86_64.build
path: wheelhouse/*.whl

- name: Set final commit status
Expand Down Expand Up @@ -335,7 +335,7 @@ jobs:
- name: Save macOS wheel
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.python-version }}-macosx_arm64
name: ${{ matrix.python-version }}-macosx_arm64.build
path: wheelhouse/*.whl

- name: Stop server
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/upload-to-jfrog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,7 @@ jobs:
- name: Download source distribution
uses: actions/download-artifact@v4
with:
pattern: '*.tar.gz'
path: artifacts
- name: Download wheels
uses: actions/download-artifact@v4
with:
pattern: '*.whl'
pattern: '*.build'
path: artifacts
- name: Set up JFrog credentials
uses: jfrog/setup-jfrog-cli@v3
Expand Down

0 comments on commit 633f5e2

Please sign in to comment.