diff --git a/.github/workflows/generate-lists.yml b/.github/workflows/generate-lists.yml index 4c962b6..c2a4454 100644 --- a/.github/workflows/generate-lists.yml +++ b/.github/workflows/generate-lists.yml @@ -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