Skip to content

Commit

Permalink
Prepare for new release
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluesy1 committed Jun 17, 2024
1 parent e5e9586 commit 089d94b
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,30 @@ jobs:
run: test $(ls dist/*.tar.gz | wc -l) = 1 && test $(ls dist/*.whl | wc -l) = 1
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

github-release:
name: upload dists to GitHub release
needs: [publish]
permissions:
id-token: write
attestations: write
contents: write
runs-on: ubuntu-latest

steps:
- name: Download release dists
uses: actions/download-artifact@v4
with:
name: dist
path: dist/
- name: Attest Build Provenance
uses: actions/attest-build-provenance@v1
with:
subject-path: 'dist/**'
- name: Upload Dists to GitHub Release
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
gh release upload
'${{ github.ref_name }}' dist/**
--repo '${{ github.repository }}'
Empty file modified bump.sh
100644 → 100755
Empty file.

0 comments on commit 089d94b

Please sign in to comment.