Skip to content

Commit 469286c

Browse files
committed
Pip install plugins parameter
2 parents 80eef4b + ef52576 commit 469286c

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

TEMPLATE_hermes_github_to_zenodo.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- uses: actions/setup-python@v4
4949
with:
5050
python-version: '3.10'
51-
- run: pip install git+https://github.com/softwarepub/hermes.git@feature/init-command
51+
- run: pip install git+https://github.com/softwarepub/hermes.git
5252
- run: hermes harvest
5353
- run: hermes process
5454
- run: hermes curate
@@ -92,12 +92,12 @@ jobs:
9292
- uses: actions/setup-python@v4
9393
with:
9494
python-version: '3.10'
95-
- run: pip install git+https://github.com/softwarepub/hermes.git@feature/init-command
95+
- run: pip install git+https://github.com/softwarepub/hermes.git
9696

9797
# ADAPT
9898
# If you want to publish artifacts (e.g., a zipped snapshot of your repository),
9999
# you can prepare this here.
100-
- run: git archive --format zip HEAD src > showcase.zip
100+
- run: git archive --format zip HEAD src > artifact.zip
101101

102102
# Run the HERMES deposition and postprocessing steps.
103103
# ADAPT
@@ -106,7 +106,7 @@ jobs:
106106
# 2. Adapt the files you want to deposit. In the example, showcase.zip and README.md are deposited alongside the metadata.
107107
# 3. Check if you want to run with '--initial', as this may potentially create a completely new record (collection),
108108
# rather than a new version of the same collection!
109-
- run: hermes deposit --initial -O invenio_rdm.auth_token ${{ secrets.ZENODO_SANDBOX }} --file showcase.zip --file README.md
109+
- run: hermes deposit --initial -O invenio_rdm.auth_token ${{ secrets.ZENODO_SANDBOX }} --file artifact.zip --file README.md
110110
- if: ${{ env.ZENODO_TOKEN_REFRESH != '' }}
111111
run: hermes init --only-set-refresh-token --github-token ${{ secrets.GITHUB_TOKEN }}
112112

init/TEMPLATE_hermes_github_to_zenodo.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
with:
5050
python-version: '3.10'
5151
- run: pip install hermes
52-
{%pip_install_plugins%}
52+
{%pip_install_plugins_github%}
5353
- run: hermes harvest
5454
- run: hermes process
5555
- run: hermes curate
@@ -93,7 +93,8 @@ jobs:
9393
- uses: actions/setup-python@v4
9494
with:
9595
python-version: '3.10'
96-
- run: pip install git+https://github.com/softwarepub/hermes.git@feature/init-command
96+
- run: pip install hermes
97+
{%pip_install_plugins_github%}
9798

9899
# ADAPT
99100
# If you want to publish artifacts (e.g., a zipped snapshot of your repository),

init/hermes-ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@
7474
python -m venv .hermes-env
7575
fi
7676
- . .hermes-env/bin/activate
77-
- pip install git+https://github.com/softwarepub/hermes.git@feature/init-command
77+
- pip install hermes
78+
{%pip_install_plugins_gitlab%}
7879
tags:
7980
- docker
8081
artifacts:

0 commit comments

Comments
 (0)