Skip to content

Commit

Permalink
Fix publish workflow
Browse files Browse the repository at this point in the history
This completes 4adf5b5
  • Loading branch information
pgjones committed Sep 30, 2023
1 parent 4adf5b5 commit 89be65f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
outputs:
hash: ${{ steps.hash.outputs.hash }}
steps:
- uses: actions/checkout
- uses: actions/setup-python
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.x'
- run: pip install poetry
Expand All @@ -19,7 +19,7 @@ jobs:
- name: generate hash
id: hash
run: cd dist && echo "hash=$(sha256sum * | base64 -w0)" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact
- uses: actions/upload-artifact@v3
with:
path: ./dist

Expand All @@ -42,7 +42,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/download-artifact
- uses: actions/download-artifact@v3
- name: create release
run: >
gh release create --draft --repo ${{ github.repository }}
Expand All @@ -59,12 +59,12 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/download-artifact
- uses: actions/download-artifact@v3
# Try uploading to Test PyPI first, in case something fails.
- uses: pypa/gh-action-pypi-publish
- uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
packages-dir: artifact/
- uses: pypa/gh-action-pypi-publish
- uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: artifact/

0 comments on commit 89be65f

Please sign in to comment.