Skip to content

Added base DOI for future releases. #2

Added base DOI for future releases.

Added base DOI for future releases. #2

name: Zenodo release
on:
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download archive to runner
env:
tarball: ${{ github.event.release.tarball_url }}
run: |
name=$(basename ${tarball})
curl -L $tarball > $name
echo "archive=${name}" >> $GITHUB_ENV
- name: Run Zenodo Deploy
uses: rseng/zenodo-release@main
with:
token: ${{ secrets.ZENODO_TOKEN }}
version: ${{ github.event.release.tag_name }}
zenodo_json: .zenodo.json
archive: ${{ env.archive }}
doi: '10.5281/zenodo.11203406'

Check failure on line 28 in .github/workflows/zenodo-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/zenodo-release.yml

Invalid workflow file

You have an error in your yaml syntax on line 28