fix: set CI=true for cargo tauri build — Woodpecker sets CI=woodpecker which Tauri CLI rejects
This commit is contained in:
parent
77fa044c98
commit
bf7f14b387
@ -23,7 +23,7 @@ pipeline:
|
||||
- npm ci --legacy-peer-deps
|
||||
- rustup target add $TARGET
|
||||
- cargo install tauri-cli --version "^2" --locked
|
||||
- cargo tauri build --target $TARGET
|
||||
- CI=true cargo tauri build --target $TARGET
|
||||
- mkdir -p /artifacts/linux-amd64
|
||||
- find src-tauri/target/$TARGET/release/bundle -name "*.deb" -o -name "*.rpm" -o -name "*.AppImage" | xargs -I{} cp {} /artifacts/linux-amd64/
|
||||
|
||||
@ -40,7 +40,7 @@ pipeline:
|
||||
- npm ci --legacy-peer-deps
|
||||
- rustup target add $TARGET
|
||||
- cargo install tauri-cli --version "^2" --locked
|
||||
- cargo tauri build --target $TARGET
|
||||
- CI=true cargo tauri build --target $TARGET
|
||||
- mkdir -p /artifacts/linux-arm64
|
||||
- find src-tauri/target/$TARGET/release/bundle -name "*.deb" -o -name "*.AppImage" | xargs -I{} cp {} /artifacts/linux-arm64/
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user