Skip to content

Commit

Permalink
Fix wheel copying
Browse files Browse the repository at this point in the history
  • Loading branch information
twizmwazin committed May 22, 2024
1 parent 8eb9f6f commit 52d6d2f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/angr-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,37 +175,37 @@ jobs:
GH_TOKEN: ${{ secrets.GH_TOKEN }}

# PyPI artifacts
- name: Create upload directory
run: mkdir dist
- name: Create artifacts and dist directories
run: mkdir artifacts dist

- name: Download sdist artifact
uses: actions/download-artifact@v4
with:
name: sdist
path: dist/sdist
path: artifacts/sdist
- name: Download Ubuntu wheels artifact
uses: actions/download-artifact@v4
with:
name: wheels-ubuntu-22.04
path: dist/wheels-ubuntu-22.04
path: artifacts/wheels-ubuntu-22.04
- name: Download Windows wheels artifact
uses: actions/download-artifact@v4
with:
name: wheels-windows-2022
path: dist/wheels-windows-2022
path: artifacts/wheels-windows-2022
- name: Download macOS x86_64 wheels artifact
uses: actions/download-artifact@v4
with:
name: wheels-macos-12
path: dist/wheels-macos-12
path: artifacts/wheels-macos-12
- name: Download macOS arm64 wheels artifact
uses: actions/download-artifact@v4
with:
name: wheels-macos-14
path: dist/wheels-macos-14
path: artifacts/wheels-macos-14

- name: Collect all packages to upload
run: find dist \( -name "*.tar.gz" -o -name "*.whl" \) -exec mv {} upload/ \;
run: find artifacts \( -name "*.tar.gz" -o -name "*.whl" \) -exec mv {} dist/ \;

- name: Publish distribution to PyPI
if: github.event_name == 'schedule' || github.event.inputs.dry_run == false
Expand Down

0 comments on commit 52d6d2f

Please sign in to comment.