Skip to content

Commit

Permalink
Fix workflow syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
tudoramariei committed Aug 1, 2024
1 parent f331a81 commit 5ff5b3a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ jobs:
steps:
- name: "Download dists from release"
run: |
gh release download
"${{ github.ref_name }}"
--dir dist/
gh release download \
"${{ github.ref_name }}" \
--dir dist/
- name: "Publish dists to PyPI"
uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0
15 changes: 7 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,13 @@ jobs:

- name: Create a GitHub release
run: >
gh release create
"${{ github.ref_name }}"
dist/*
--repo "${{ github.repository }}"
--title "${{ github.ref_name }}"
--notes-from-file CHANGELOG.md
--draft
--verify-tag
gh release create "${{ github.ref_name }}" \
dist/* \
--repo "${{ github.repository }}" \
--title "${{ github.ref_name }}" \
--notes-from-file CHANGELOG.md \
--draft \
--verify-tag \
--generate-notes
env:
GH_TOKEN: ${{ github.token }}

0 comments on commit 5ff5b3a

Please sign in to comment.