Skip to content

Commit

Permalink
Always pull latest release
Browse files Browse the repository at this point in the history
  • Loading branch information
akash-akya committed Nov 7, 2024
1 parent 496b712 commit 9ad6295
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- name: Get latest version of libvips
run: |
VIPS_LATEST_RELEASE="https://github.com/libvips/libvips/releases/download/v8.13.0/vips-8.13.0.tar.gz"
VIPS_LATEST_RELEASE=$(curl -L -s https://api.github.com/repos/libvips/libvips/releases/latest | grep -o -E "https://(.*)/vips-(.*).tar.xz" | head -1)
echo "VIPS_LATEST_RELEASE=${VIPS_LATEST_RELEASE}" >> $GITHUB_ENV
- name: Cache libvips artifacts
Expand All @@ -50,7 +50,7 @@ jobs:
if: steps.vips-cache.outputs.cache-hit != 'true'
run: |
mkdir vips
curl -s -L "${VIPS_LATEST_RELEASE}" | tar xz -C ./vips --strip-components=1
curl -s -L "${VIPS_LATEST_RELEASE}" | tar xf -C ./vips --strip-components=1
cd vips
./configure
make
Expand Down

0 comments on commit 9ad6295

Please sign in to comment.