Skip to content

Commit

Permalink
Pre Release Zenodo Not Found (#2835)
Browse files Browse the repository at this point in the history
* Bypass zenodo not found

* Use conditionals to check for zenodo file
  • Loading branch information
atharva-2001 authored Oct 2, 2024
1 parent 3b6084f commit 2aa6732
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,14 @@ jobs:
with:
path: /tmp

- name: Copy zenodo.json to repository
- name: Check for generated Zenodo JSON and copy if exists
run: |
cp /tmp/zenodo_json/.zenodo.json .
if [ -f "/tmp/zenodo/.zenodo.json" ]; then
cp /tmp/zenodo_json/.zenodo.json .
echo "Using generated zenodo file"
else
echo "No zenodo file found, defaulting to one in TARDIS master"
fi
- name: Get current date
run: echo "DATE=$(date +'%Y.%m.%d')" >> $GITHUB_ENV
Expand Down

0 comments on commit 2aa6732

Please sign in to comment.