Skip to content

Commit

Permalink
Update main.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
AAriam committed Nov 10, 2024
1 parent 650bb67 commit 3f1abbd
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,15 +176,26 @@ jobs:
with:
config: ${{ matrix.config.job }}
release:
name: Release
name: ${{ fromJSON(needs.main.outputs.release).name }}
needs: [ main, web, publish-pypi ]
if: fromJSON(needs.main.outputs.release)
permissions:
discussions: write
runs-on: ubuntu-latest
steps:
- name: Repository Checkout
uses: actions/checkout@v4
with:
ref: ${{ fromJSON(needs.main.outputs.release).ref }}
fetch-depth: 0
path: ${{ fromJSON(needs.main.outputs.release).repo-path }}
- name: Artifact Download
uses: actions/download-artifact@v4
with:
path: ${{ fromJSON(needs.main.outputs.release).artifact-path }}
- name: Release
uses: RepoDynamics/ReleaseMan@main
with:
config: ${{ needs.main.outputs.release }}
zenodo-token: ${{ secrets.zenodo-token }}
github-config: ${{ toJSON(fromJSON(needs.main.outputs.release).github) }}
zenodo-config: ${{ toJSON(fromJSON(needs.main.outputs.release).zenodo) }}
zenodo-token: ${{ secrets.zenodo-token }}

0 comments on commit 3f1abbd

Please sign in to comment.