local workflow doesn't need version #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update citations upon CITATION.cff changes | ||
on: | ||
push: | ||
paths: | ||
- CITATION.cff | ||
- '.github/workflows/run_citations.yml' | ||
- '.github/workflows/update_citations.yml' | ||
jobs: | ||
update-citations: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
# use customized version of cffconvert | ||
pip install git+https://github.com/alexlancaster/cffconvert.git@combine_features#egg=cffconvert | ||
call-citation-workflow: | ||
uses: ./.github/workflows/update_citations.yml | ||
Check failure on line 30 in .github/workflows/run_citations.yml GitHub Actions / .github/workflows/run_citations.ymlInvalid workflow file
|
||
with: | ||
CITATION_DIR: 'src/PyPop/citation' | ||
INIT_FILE: 'src/PyPop/__init__.py' |