From f230bb3eaa17a1db65ac9144d1ce634500bc055d Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Mon, 18 Dec 2023 14:56:26 +0100 Subject: [PATCH] Install dependencies using kiwix-build's github action. --- .github/workflows/ci.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 994e6d9f8..c61119e72 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,11 +36,11 @@ jobs: - name: Install python modules run: pip3 install meson pytest - - name: Install deps - shell: bash - run: | - ARCHIVE_NAME=deps2_macos_${{matrix.target}}_libzim.tar.xz - wget -O- http://tmp.kiwix.org/ci/${ARCHIVE_NAME} | tar -xJ -C $HOME + - name: Install dependencies + uses: kiwix/kiwix-build/actions/dl_deps_archive@main + with: + os_name: macos + target_platform: ${{ matrix.target }} - name: Compile shell: bash @@ -152,11 +152,11 @@ jobs: image: "ghcr.io/kiwix/kiwix-build_ci_${{matrix.image_variant}}:2023-10-30" steps: - - name: Install dependences + - name: Install dependencies if: false == startsWith(matrix.target, 'alpine_') - run: | - ARCHIVE_NAME=deps2_${OS_NAME}_${{matrix.target}}_libzim.tar.xz - wget -O- http://tmp.kiwix.org/ci/${ARCHIVE_NAME} | tar -xJ -C ${{env.HOME}} + uses: kiwix/kiwix-build/actions/dl_deps_archive@main + with: + target_platform: ${{ matrix.target }} - name: Retrieve source code uses: actions/checkout@v3