Skip to content

Commit

Permalink
Add source distribution to collected artifacts (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
devinrsmith authored Jun 1, 2022
1 parent 22131a1 commit c2f1ed2
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
11 changes: 11 additions & 0 deletions .github/scripts/collect-artifacts.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash

set -o errexit
set -o pipefail
set -o nounset

mkdir collect-artifacts
find download-artifacts -type f

mv download-artifacts/*/*.whl collect-artifacts/
mv download-artifacts/*/*.tar.gz collect-artifacts/
9 changes: 0 additions & 9 deletions .github/scripts/collect-wheels.sh

This file was deleted.

12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,17 @@ jobs:
path: dist/*.whl
retention-days: 1

collect-wheels:
collect-artifacts:
runs-on: 'ubuntu-20.04'
needs: ['bdist-wheel']
needs: ['sdist', 'bdist-wheel']
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
path: download-wheels
- name: collect-wheels.sh
run: .github/scripts/collect-wheels.sh
path: download-artifacts
- name: collect-artifacts.sh
run: .github/scripts/collect-artifacts.sh
- uses: actions/upload-artifact@v2
with:
name: jpy
path: collect-wheels
path: collect-artifacts

0 comments on commit c2f1ed2

Please sign in to comment.