From 31f3d766d029d293450c53dcc457590fd10473f2 Mon Sep 17 00:00:00 2001 From: Pieter Verschaffelt Date: Mon, 12 Aug 2024 13:35:08 +0200 Subject: [PATCH] Zip database files without including subdirectory in zip folder --- .github/workflows/database.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/database.yml b/.github/workflows/database.yml index 5106e1c..b6d2e90 100644 --- a/.github/workflows/database.yml +++ b/.github/workflows/database.yml @@ -36,7 +36,7 @@ jobs: run: sudo ./scripts/build_database.sh -i "index" -d "unipept-temp" -m "256M" "${{ matrix.type }}" "swissprot" "https://ftp.expasy.org/databases/uniprot/current_release/knowledgebase/complete/uniprot_sprot.xml.gz" "output" - name: Zip all tsv.gz files shell: bash - run: zip -r "${{ matrix.type }}.zip" "output/" + run: cd output && zip -r "../${{ matrix.type }}.zip" "*.tsv.lz4" - name: Upload or Update Release id: upload_or_update_release uses: softprops/action-gh-release@v1