Skip to content

Commit

Permalink
add step to list wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
samster25 committed Oct 13, 2023
1 parent 4743b3b commit 2ac764d
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/build-artifact-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
PYTHON_VERSION: 3.8

jobs:
build:
build-and-push:
name: platform wheels for ${{ matrix.os }}-${{ matrix.compile_arch }}
runs-on: ${{ matrix.os }}-latest
strategy:
Expand Down Expand Up @@ -62,9 +62,27 @@ jobs:
before-script-linux: export JEMALLOC_SYS_WITH_LG_PAGE=16

- name: Copy all files as Zip
run: for foo in dist/*.whl; do cp $foo `basename $foo .whl`.zip; done
run: for foo in dist/*.whl; do cp $foo dist/`basename $foo .whl`.zip; done

- name: Upload wheels to s3
run: aws s3 cp --no-progress dist/* s3://github-actions-artifacts-bucket/daft-build-artifact-s3/${{ github.sha }}/


- name: Upload wheels to s3
run: aws s3 cp dist/* s3://github-actions-artifacts-bucket/daft-build-artifact-s3/${{ github.sha }}/
list-wheels:
name: Publish wheels to PYPI and Anaconda
runs-on: ubuntu-latest
needs:
- build-and-push

permissions:
id-token: write
contents: read
steps:
- name: Assume GitHub Actions AWS Credentials
uses: aws-actions/configure-aws-credentials@v3
with:
aws-region: us-west-2
role-to-assume: ${{ secrets.ACTIONS_AWS_ROLE_ARN }}
role-session-name: DaftPythonPackageGitHubWorkflow
- name: List Wheels
run: aws s3 ls s3://github-actions-artifacts-bucket/daft-build-artifact-s3/${{ github.sha }}/

0 comments on commit 2ac764d

Please sign in to comment.