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