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 e53a0ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ jobs:
- uses: actions/checkout@v4

- name: Install libvips build dependencies
run: sudo apt-get install build-essential libxml2-dev libfftw3-dev libmagickwand-dev libopenexr-dev liborc-0.4-0 gobject-introspection libgsf-1-dev libglib2.0-dev liborc-0.4-dev curl
run: sudo apt-get install build-essential libxml2-dev libfftw3-dev libmagickwand-dev libopenexr-dev liborc-0.4-0 gobject-introspection libgsf-1-dev libglib2.0-dev liborc-0.4-dev curl xz-utils

- 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 xJ -C ./vips --strip-components=1
cd vips
./configure
make
Expand Down

0 comments on commit e53a0ee

Please sign in to comment.