Skip to content

Commit 91a5155

Browse files
committed
Install dependences for crate publish
1 parent 0142919 commit 91a5155

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,8 @@ jobs:
236236
with:
237237
shared-key: publish
238238

239-
- name: Set version from tag
240-
run: |
241-
VERSION="${GITHUB_REF_NAME#v}"
242-
sed -i "s/^version = \".*\"/version = \"$VERSION\"/" Cargo.toml
239+
- name: Install dependencies
240+
run: sudo apt-get update && sudo apt-get install -y libxml2-dev libxslt1-dev libxmlsec1-dev libclang-dev tesseract-ocr tesseract-ocr-eng
243241

244242
- name: Publish to crates.io
245243
run: cargo publish --no-default-features --features headless --allow-dirty

0 commit comments

Comments
 (0)