From 570fc504b128d3c5a29f4b8416f5694418a1ef94 Mon Sep 17 00:00:00 2001 From: JoeZiminski Date: Wed, 26 Jun 2024 16:30:35 +0100 Subject: [PATCH] Try downloading artifact. --- .github/workflows/test_kilosort4.yml | 29 +++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test_kilosort4.yml b/.github/workflows/test_kilosort4.yml index e1d1cb7bfa..9115c47cc2 100644 --- a/.github/workflows/test_kilosort4.yml +++ b/.github/workflows/test_kilosort4.yml @@ -34,21 +34,32 @@ jobs: echo ${{ github.workspace }} shell: bash + - name: Upload versions file + uses: actions/upload-artifact@v2 + with: + name: versions + path: ${{ github.workspace }}/.github/scripts/kilosort4-latest-version.json configure: needs: fetch-versions runs-on: ubuntu-latest outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - - name: Checkout to repository - uses: actions/checkout@v2 - - name: Set matrix data - id: set-matrix - run: | - echo $(pwd) - ls .github/scripts - ls - echo "matrix=$(jq -c . < .github/scripts/kilosort4-latest-version.json)" >> $GITHUB_OUTPUT + - name: Download versions file + uses: actions/download-artifact@v2 + with: + name: versions # Name of the artifact to download + path: ${{ github.workspace }} # Directory to download the artifact to + + - name: Checkout to repository + uses: actions/checkout@v2 + - name: Set matrix data + id: set-matrix + run: | + pwd + ls .github/scripts + ls + echo "matrix=$(jq -c . < .github/scripts/kilosort4-latest-version.json)" >> $GITHUB_OUTPUT test: needs: configure name: ${{ matrix.os }} Python ${{ matrix.python-version }}