Skip to content

Commit

Permalink
Download libzim in check_release CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mgautierfr committed Nov 25, 2024
1 parent b0e0a1b commit df6960f
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/check_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit df6960f

Please sign in to comment.