-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (27 loc) · 996 Bytes
/
zenodo-sandbox.yml
File metadata and controls
31 lines (27 loc) · 996 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# SPDX-FileCopyrightText: 2024 German Aerospace Center (DLR)
#
# SPDX-License-Identifier: CC0-1.0
# SPDX-FileContributor: Michael Meinel
# SPDX-FileContributor: Michael Fritzsche
name: Software publication on Zenodo Sandbox
on:
repository_dispatch:
types: [run_zenodo]
jobs:
hermes-plugin-python:
name: HERMES-PLUGIN-PYTHON
runs-on: ubuntu-latest
permissions:
contents: read # We will only read content from the repo
# pull-requests: write # Postprocessing should be able to create a pull request with changes
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: pip install .
- run: git archive --format zip HEAD src > hermes-plugin-python.zip
- run: hermes harvest
- run: hermes process
- run: hermes curate
- run: hermes deposit -O invenio_rdm.auth_token "${{ secrets.ZENODO_SANDBOX }}" --file hermes-plugin-python.zip --file README.md