| Marc Kupietz | 24254a1 | 2025-12-23 15:16:33 +0100 | [diff] [blame] | 1 | name: Upload to Zenodo |
| 2 | |
| 3 | on: |
| 4 | release: |
| 5 | types: [published] |
| 6 | workflow_dispatch: |
| 7 | env: |
| 8 | zenodo_deposition_id: 8329127 |
| 9 | zenodo_server: 'https://zenodo.org' |
| 10 | jobs: |
| 11 | new_version: |
| 12 | name: Create new version of zenodo deposition |
| 13 | runs-on: ubuntu-latest |
| 14 | steps: |
| 15 | - uses: actions/checkout@v3 |
| 16 | - uses: kykrueger/zenodo-new-version@v1.0.1 |
| 17 | with: |
| 18 | zenodo_deposition_id: ${{ env.zenodo_deposition_id }} |
| 19 | zenodo_server: ${{ env.zenodo_server }} |
| 20 | zenodo_token: ${{ secrets.ZENODO_TOKEN }} |
| 21 | # Add further actions between the DOI reservation and the publishing process |
| 22 | - uses: kykrueger/zenodo-publish@v1 |
| 23 | with: |
| 24 | zenodo_deposition_id: ${{ env.zenodo_deposition_id }} |
| 25 | zenodo_server: ${{ env.zenodo_server }} |
| 26 | zenodo_token: ${{ secrets.ZENODO_TOKEN }} |
| 27 | - uses: EndBug/add-and-commit@v7.1.1 |
| 28 | with: |
| 29 | message: 'published to Zenodo' |