Skip to content

A fast, helpful, and open-source document parser

fix python and wasm releases

Logan Markewichda350130fb09
diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml
index 6675002..38333b8 100644
--- a/.github/workflows/release-python.yml
+++ b/.github/workflows/release-python.yml
@@ -333,7 +333,7 @@ jobs:
key: ${{ runner.os }}-${{ matrix.target }}-cargo-cli-${{ hashFiles('**/Cargo.lock') }}
- name: Build
- run: cargo build --release --target ${{ matrix.target }}
+ run: cargo build --release --target ${{ matrix.target }} -p liteparse
- name: Package binary
run: |
diff --git a/.github/workflows/release-wasm.yml b/.github/workflows/release-wasm.yml
index d9e2a89..579ad10 100644
--- a/.github/workflows/release-wasm.yml
+++ b/.github/workflows/release-wasm.yml
@@ -107,7 +107,7 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TAG: ${{ inputs.beta && 'beta' || 'latest' }}
- run: npm publish --access public --provenance --tag "$NPM_TAG"
+ run: npm publish --access public --provenance --tag "$NPM_TAG" --ignore-scripts
- name: Create git tag
if: ${{ !inputs.dry-run }}