diff --git a/.github/workflows/check_release.yml b/.github/workflows/check_release.yml index 11554f3..6446516 100644 --- a/.github/workflows/check_release.yml +++ b/.github/workflows/check_release.yml @@ -125,8 +125,19 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Download libzim + run: | + VERSION="9.2.1" + ARCHIVE_NAME="libzim_linux-x86_64-${VERSION}" + wget "https://download.openzim.org/release/libzim/${ARCHIVE_NAME}.tar.gz" + tar xf ${ARCHIVE_NAME}.tar.gz + ARCHIVE_PATH=$(pwd)/${ARCHIVE_NAME} + LIBZIM_LIB=${ARCHIVE_PATH}/lib/x86_64-linux-gnu + echo "LIBZIM_LIB=$LIBZIM_LIB" >> $GITHUB_ENV + echo "LIBZIM_INCLUDE=${ARCHIVE_PATH}/include" >> $GITHUB_ENV + - name: Test Publish env: CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} run: | - cargo publish --dry-run -p zim2waj + cargo publish --dry-run