make keyrings.alt only be added during master branch version
@@ -75,15 +75,15 @@ jobs:
- name: Run poetry install
run: |
poetry install --no-dev -E docs -E library -E labs
- poetry add keyrings.alt
- git add -A
- git stash
- name: Set Zenodo access token
if: contains(github.ref, 'master')
env:
ZENODO_ACCESS_TOKEN: ${{ secrets.ZENODO_ACCESS_TOKEN }}
run: |
+ poetry add keyrings.alt
+ git add -A
+ git stash
poetry run pymedphys zenodo set-token $ZENODO_ACCESS_TOKEN
- name: Build docs, publish them to Zenodo if they have changed
