Skip to content

Commit

Permalink
CI: Fix spack url parsing (#2225)
Browse files Browse the repository at this point in the history
Github seems to have changed their json tags, which identify the url to
download the latest release of spack.
  • Loading branch information
AdhocMan authored Oct 7, 2023
1 parent 485f65d commit 3998b01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-spack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
- name: Get Spack (latest_release)
if: ${{ matrix.spack-version == 'latest_release' }}
run: |
wget "$(curl -sH "Accept: application/vnd.github.v3+json" https://api.github.com/repos/spack/spack/releases/latest | grep browser_download_url | cut -d '"' -f 4)"
tar xfz spack*.tar.gz
wget -O latest_spack.tar.gz "$(curl -sH "Accept: application/vnd.github.v3+json" https://api.github.com/repos/spack/spack/releases/latest | grep tarball_url | cut -d '"' -f 4)"
tar xfz latest_spack.tar.gz
mv spack*/ spack
- name: Prep
run: |
Expand Down

0 comments on commit 3998b01

Please sign in to comment.