From abe23873dcc582decb46205b1171aa01441a7d66 Mon Sep 17 00:00:00 2001 From: dweinholz Date: Tue, 9 Jan 2024 11:24:03 +0100 Subject: [PATCH] Update transfer_files.yml --- .github/workflows/transfer_files.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/transfer_files.yml b/.github/workflows/transfer_files.yml index 447f25e..2f18fca 100644 --- a/.github/workflows/transfer_files.yml +++ b/.github/workflows/transfer_files.yml @@ -8,20 +8,20 @@ on: jobs: + list-databases: + runs-on: ubuntu-latest + outputs: + matrix: ${{ steps.set-matrix.outputs.matrix }} + steps: + - uses: actions/checkout@v2 + - id: set-matrix + run: echo "::set-output name=matrix::$(ls databases/*.json | jq -R -s -c 'split("\n")[:-1]')" transfer-all-files: strategy: fail-fast: false matrix: - FILENAME: - - databases/blast.json - - databases/gtdb-tk.json - - databases/card.json - - databases/checkm.json - - databases/plsdb.json - - databases/alphafold.json - - databases/uniprot.json - + FILENAME: ${{ fromJson(needs.list-manifests.outputs.matrix) }} # Add more files as needed uses: ./.github/workflows/transfer_file.yml