Skip to content

Commit 46f9d26

Browse files
authored
Update suffix_array.zip name
1 parent bdca4b8 commit 46f9d26

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build_index.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,22 @@ jobs:
3232
- name: Create build directory
3333
run: mkdir -p build/input
3434

35-
# Download the file "suffix-array.zip" from the most recent release of "unipept-database"
36-
- name: Download suffix-array.zip
35+
# Download the file "suffix_array.zip" from the most recent release of "unipept-database"
36+
- name: Download suffix_array.zip
3737
env:
3838
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3939
run: |
40-
latest_release_url=$(curl -s https://api.github.com/repos/unipept/unipept-database/releases/latest | grep "browser_download_url.*suffix-array.zip" | cut -d '"' -f 4)
40+
latest_release_url=$(curl -s https://api.github.com/repos/unipept/unipept-database/releases/latest | grep "browser_download_url.*suffix_array.zip" | cut -d '"' -f 4)
4141
release_date=$(curl -s https://api.github.com/repos/unipept/unipept-database/releases/latest | grep '"published_at":' | cut -d '"' -f 4 | cut -d'T' -f1)
4242
release_date_formatted=$(date -d $release_date "+%Y-%m-%d")
4343
SP_VERSION="SP_$release_date_formatted"
4444
echo "SP_VERSION=$SP_VERSION" >> $GITHUB_ENV
45-
curl -L -o build/suffix-array.zip $latest_release_url
45+
curl -L -o build/suffix_array.zip $latest_release_url
4646
4747
# Extract the contents of the output folder from the zip into a folder "build/input"
4848
- name: Extract zip contents
4949
run: |
50-
unzip build/suffix-array.zip '*' -d build/input
50+
unzip build/suffix_array.zip '*' -d build/input
5151
5252
# Make a directory with the SP_VERSION and process files
5353
- name: Process files

0 commit comments

Comments
 (0)