Skip to content

Commit

Permalink
Simplify path for dist
Browse files Browse the repository at this point in the history
  • Loading branch information
tupui committed Jul 14, 2024
1 parent 165a026 commit 6f6d76d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,19 @@ jobs:
run: pip install hatch

- name: Build
run: cd tansu && hatch build
run: cd tansu && hatch build && mv dist ../.

- name: Generate artifact attestation for sdist and wheels
uses: actions/attest-build-provenance@5e9cb68e95676991667494a6a4e59b8a2f13e1d0
with:
subject-path: "tansu/dist/tansu*"
subject-path: "dist/tansu*"

- name: Verify artifact attestation
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: |
for artifact in tansu/dist/*; do
for artifact in dist/*; do
echo "# ${artifact}"
gh attestation verify "${artifact}" --repo ${{ github.repository }}
done
Expand Down

0 comments on commit 6f6d76d

Please sign in to comment.