www.trr379.de/.forgejo/actions/prep-metadata-query/action.yml
Stephan Heunis efbaf44bae
Add all components allowing person depiction registration workflow
TODO: decide whether script at code/get_person_depiction_urls.py should support
a 'kind' parameter, which means it can be generalized and can live at a level
higher than this repository.
2026-04-24 15:45:07 +02:00

25 lines
954 B
YAML

runs:
using: "composite"
steps:
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Install tools
run: |
# use a single environment for all tools
uv tool install https://hub.psychoinformatics.de/orinoco/query-things.git \
--with-executables-from dump-things-pyclient \
--with-executables-from git-annex
# we need git-annex even when we are not working with annex keys
# the repository is annex-init'ed on-clone, so git-annex tooling
# runs in commit hooks
- name: Prepare Git
run: |
git config --global user.name "Forgejo Actions"
git config --global user.email ${{ forgejo.actor }}@${FORGEJO_SERVER_URL#*://}
git config --global credential.helper cache
git credential approve <<EOF
url=${{ forgejo.server_url }}
username=${{ forgejo.actor }}
password=${{ forgejo.token }}
EOF
echo OK