diff --git a/.github/workflows/build_index.yml b/.github/workflows/build_index.yml index 236921f..9f81d7c 100644 --- a/.github/workflows/build_index.yml +++ b/.github/workflows/build_index.yml @@ -44,9 +44,12 @@ jobs: echo "SP_VERSION=$SP_VERSION" >> $GITHUB_ENV curl -L -o build/suffix-array.zip $latest_release_url - # Extract the contents of this zip into a folder "build/input" + # Extract the contents of the output folder from the zip into a folder "build/input" - name: Extract zip contents - run: unzip build/suffix-array.zip -d build/input + run: | + unzip build/suffix-array.zip 'output/*' -d build/temp + mv build/temp/output/* build/input/ + rm -r build/temp # Make a directory with the SP_VERSION and process files - name: Process files