Skip to content

Commit

Permalink
Merge pull request #102 from tacaswell/ci/update_GHA
Browse files Browse the repository at this point in the history
Ci/update gha
  • Loading branch information
QuLogic authored Dec 18, 2024
2 parents 702f61e + 6e74aa9 commit b952686
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: python -m build

- name: Save built packages as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: packages-${{ runner.os }}-${{ steps.setup.outputs.python-version }}
path: dist/
Expand All @@ -46,12 +46,19 @@ jobs:
id-token: write
steps:
- name: Download packages
uses: actions/download-artifact@v3
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
pattern: packages-*
path: dist
merge-multiple: true

- name: Consolidate packages for upload
run: |
mkdir dist
cp packages-*/* dist/
- name: Print out packages
run: ls dist

- name: Generate artifact attestation for sdist and wheel
uses: actions/attest-build-provenance@7668571508540a607bdfd90a87a560489fe372eb # v2.1.0
with:
subject-path: dist/cycler-*

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e # v1.8.10
uses: pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70 # v1.12.3

0 comments on commit b952686

Please sign in to comment.