Skip to content

Commit

Permalink
change: download and extract compressed list in CI
Browse files Browse the repository at this point in the history
The CI job has been failing from time to time recently. In an attempt
to improve the CI job, download the compressed SDN list.
  • Loading branch information
0xB10C committed Sep 25, 2024
1 parent 76d938b commit 5ad506d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/generate-lists.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ jobs:
with:
python-version: 3.11
- name: Download the sdn_advanced.xml file
uses: wei/wget@v1
with:
args: https://www.treasury.gov/ofac/downloads/sanctions/1.0/sdn_advanced.xml
run: |
wget https://sanctionslistservice.ofac.treas.gov/api/PublicationPreview/exports/SDN_ADVANCED.ZIP
unzip SDN_ADVANCED.ZIP
ls -l
- name: Generate TXT and JSON files for all assets
run: |
mkdir data
Expand Down

0 comments on commit 5ad506d

Please sign in to comment.