CI: switch to apt-based installation #14
1 changed files with 3 additions and 4 deletions
|
|
@ -18,12 +18,11 @@ jobs:
|
||||||
uses: ./.forgejo/actions/prep-metadata-query
|
uses: ./.forgejo/actions/prep-metadata-query
|
||||||
- name: Install jq
|
- name: Install jq
|
||||||
run: |
|
run: |
|
||||||
curl -o ~/.local/bin/jq https://github.com/jqlang/jq/releases/download/jq-1.8.1/jq-linux-amd64
|
apt-get update
|
||||||
chmod +x ~/.local/bin/jq
|
apt-get install -y jq
|
||||||
jq --version
|
|
||||||
- name: Update pages
|
- name: Update pages
|
||||||
run: |
|
run: |
|
||||||
dtc get-records ${DUMPTHINGS_APIURL} public -C XYZPublication \
|
dtc get-records ${{ env.DUMPTHINGS_APIURL }} public -C XYZPublication \
|
||||||
| qri inline-records -p about -p attributed_to -c public \
|
| qri inline-records -p about -p attributed_to -c public \
|
||||||
| jq -sc '{pid: "xyzri:this-is-not-important", publications: .}' \
|
| jq -sc '{pid: "xyzri:this-is-not-important", publications: .}' \
|
||||||
| qri render-record page_templates/publications.json.j2 'data/publications.json'
|
| qri render-record page_templates/publications.json.j2 'data/publications.json'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue