Skip to content

Commit

Permalink
use different download action for release
Browse files Browse the repository at this point in the history
  • Loading branch information
savente93 committed Sep 27, 2024
1 parent 6c0149e commit d84d7f3
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/finish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,16 @@ jobs:
runs-on: ubuntu-latest
# if: github.event.pull_request.merged == true
steps:
- uses: actions/download-artifact@v4
- id: download-artifact
uses: dawidd6/action-download-artifact@v6
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: create-release-artifacts.yml
workflow_conclusion: success
name: pypi-release-artifacts
path: dist
run-id: ${{ inputs.run_id }}
check_artifacts: true
if_no_artifact_found: fail
- name: Publish package to PyPI
uses: pypa/[email protected]
with:
Expand All @@ -76,11 +81,16 @@ jobs:
runs-on: ubuntu-latest
# if: github.event.pull_request.merged == true
steps:
- uses: actions/download-artifact@v4
- id: download-artifact
uses: dawidd6/action-download-artifact@v6
with:
name: docs-release-artifacts
path: docs/_build
run-id: ${{ inputs.run_id }}
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: create-release-artifacts.yml
workflow_conclusion: success
name: docs-release-artifacts
path: docs/_build
check_artifacts: true
if_no_artifact_found: fail
- name: Upload to GitHub Pages
uses: peaceiris/[email protected]
with:
Expand Down

0 comments on commit d84d7f3

Please sign in to comment.