Skip to content

Commit

Permalink
Use download artifact action
Browse files Browse the repository at this point in the history
  • Loading branch information
nickynicolson authored Aug 24, 2022
1 parent 8bcbfa5 commit f3a6f50
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,21 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Download IPNI-OA release artifact
run: bash bin/download-ipni-oa-artifacts.bash ${{ secrets.PAT }}

- name: Create download dir
run: mkdir -p downloads

- uses: dsaltares/fetch-gh-release-asset@master
with:
repo: 'OA-WCVP/ipni-oa'
version: 'tags/v0.1.0'
regex: true
file: ".*data.*\\.zip"
target: 'downloads/'
token: ${{ secrets.PAT }}

# - name: Download IPNI-OA release artifact
# run: bash bin/download-ipni-oa-artifacts.bash ${{ secrets.PAT }}

- name: Sanity check artifact download
run: ls -ltra downloads
Expand Down

0 comments on commit f3a6f50

Please sign in to comment.