Skip to content

Commit a8a9be7

Browse files
committed
Update changes check workflow to ensure environment exists and is ready
1 parent 7b06a61 commit a8a9be7

1 file changed

Lines changed: 23 additions & 4 deletions

File tree

.github/workflows/pubs_checks_for_changes_and_duplications.yml

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,34 @@ on:
44
- cron: "0 0 * * *"
55

66
jobs:
7-
call-workflow-start:
8-
uses: ./.github/workflows/common_start.yml
97
update-citations:
10-
needs:
11-
- call-workflow-start
128
runs-on: ubuntu-latest
139
steps:
10+
- name: "Checkout saspubs Repository"
11+
uses: actions/checkout@v5
12+
with:
13+
repository: sasview/saspubs
14+
ref: master
15+
persist-credentials: false
16+
fetch-depth: 0
17+
- name: "Setup Python"
18+
uses: actions/setup-python@v6
19+
with:
20+
python-version: '3.14'
21+
- name: "Install Python dependencies"
22+
run: |
23+
python -m pip install --upgrade pip
24+
python -m pip install wheel setuptools
25+
python -m pip install -r ./requirements.txt
26+
- name: "Create publications list using the Zotero API"
27+
run: python ./instrument_zotero_feed.py SASVIEW
1428
- name: "Look For Updates to Zotero List Using Citation Finder"
1529
run: python ./update_current_list.py SASVIEW ${{ secrets.ZOTERO_KEY }}
30+
- name: "Archive markdown file"
31+
uses: actions/upload-artifact@v4
32+
with:
33+
name: SASVIEW_publications.md
34+
path: ./static/
1635
call-workflow-end:
1736
needs:
1837
- update-citations

0 commit comments

Comments
 (0)