Skip to content

Commit

Permalink
Try downloading artifact.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeZiminski committed Jun 26, 2024
1 parent 4340f0a commit 570fc50
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions .github/workflows/test_kilosort4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 570fc50

Please sign in to comment.