Skip to content

Commit

Permalink
Quick test
Browse files Browse the repository at this point in the history
  • Loading branch information
vycius committed Jul 19, 2024
1 parent ba60703 commit b433755
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/check-for-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,24 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Create database
run: chmod +x create-database.sh && ./create-database.sh

- name: Upload data-source-checksums.txt artifact
uses: actions/upload-artifact@v4
with:
name: data-source-checksums.txt
path: data-sources/data-source-checksums.txt
if-no-files-found: error
# - name: Create database
# run: chmod +x create-database.sh && ./create-database.sh
#
# - name: Upload data-source-checksums.txt artifact
# uses: actions/upload-artifact@v4
# with:
# name: data-source-checksums.txt
# path: data-sources/data-source-checksums.txt
# if-no-files-found: error

- name: Download latest data source hashes
run: wget -O published-data-source-checksums.txt "https://github.com/govlt/national-boundaries-api/releases/latest/download/data-source-checksums.txt"

- name: TODO remove
run: echo "Hello hello. New release" >> data-sources/data-source-checksums.txt
run: |
mkdir data-sources
cp published-data-source-checksums.txt data-sources/data-source-checksums.txt
echo "Hello hello. New release" >> data-sources/data-source-checksums.txt
- name: Upload published-data-source-checksums.txt artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit b433755

Please sign in to comment.