Skip to content

Commit

Permalink
Merged in zenodo (pull request #189)
Browse files Browse the repository at this point in the history
updating zenodo action
  • Loading branch information
MikeWLloyd committed Apr 25, 2024
2 parents 331bf8d + 1175493 commit a87574e
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/zenodo_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Zenodo Release

on:
release:
types: [published]

jobs:
deploy:
runs-on: ubuntu-20.04

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 # required
archive: ${{ env.archive }}
4 changes: 4 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# RELEASE NOTES

## Release 0.6.1

In this minor release we added support for automatic Zenodo releases via github actions. There are no changes or additions to workflows.

## Release 0.6.0

In this major release we add seven new workflows, and make numerous changes to existing workflows. Specific changes are discussed below.
Expand Down

0 comments on commit a87574e

Please sign in to comment.