Skip to content

Commit

Permalink
Fix: branch name for pip install in workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
Labbeti committed Aug 1, 2023
1 parent eb38ca0 commit 1292b74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/python-package-pip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ jobs:
cache: 'pip'

- name: Install package
shell: bash
# note: ${GITHUB_REF##*/} gives the branch name
run: |
python -m pip install "aac-datasets[dev] @ git+https://github.com/Labbeti/aac-datasets@${GITHUB_REF##*/}"
python -m pip install "aac-datasets[${GITHUB_REF_NAME}] @ git+https://github.com/Labbeti/aac-datasets@${GITHUB_REF##*/}"
- name: Install soundfile for torchaudio
run: |
Expand Down

0 comments on commit 1292b74

Please sign in to comment.