From b433755ae55b445a22350ea19bc504acbd3515ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karolis=20Vy=C4=8Dius?= Date: Fri, 19 Jul 2024 09:32:22 +0300 Subject: [PATCH] Quick test --- .github/workflows/check-for-updates.yml | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/.github/workflows/check-for-updates.yml b/.github/workflows/check-for-updates.yml index 0e41751..23b1990 100644 --- a/.github/workflows/check-for-updates.yml +++ b/.github/workflows/check-for-updates.yml @@ -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