Skip to content

Commit

Permalink
Update environment in publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenwindflower committed Apr 7, 2024
1 parent 0589376 commit 9de5a5f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ jobs:
- build
runs-on: macos-latest
environment:
name: pypi
name: release
url: https://pypi.org/p/jaffle-shop-generator
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing

steps:
- name: Download all the dists
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
Expand All @@ -58,12 +58,12 @@ jobs:

steps:
- name: Download all the dists
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- name: Sign the dists with Sigstore
uses: sigstore/gh-action-sigstore-python@v1.2.3
uses: sigstore/gh-action-sigstore-python@v2
with:
inputs: |
./dist/*.tar.gz
Expand Down

0 comments on commit 9de5a5f

Please sign in to comment.