Skip to content

feat: enhance figshare processing workflow with additional CSV output… #4

feat: enhance figshare processing workflow with additional CSV output…

feat: enhance figshare processing workflow with additional CSV output… #4

Workflow file for this run

name: orcid-cache
on:
workflow_dispatch:
schedule:
- cron: "30 2 * * 1"
push:
branches:
- main
pull_request:
branches:
- main
jobs:
update-cache:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: |
git config --global user.name 'L-CAS GitHub'
git config --global user.email 'marc@hanheide.net'
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
set -e
python -m pip install --upgrade pip
pip install -r requirements-frozen.txt
- name: Run ORCID exporter
run: |
set -e
python lcas-bib-export-generator.py
# - if: github.event_name != 'pull_request'
# run: |
# git add -f *.bib *.json *.html
# git commit -m "automated commit `date`"
# git push