Comments (6)
This means that the action can't find a tauri cli in your repo root. In this case it will install the latest stable version which is incompatible with v2 beta.
Can you try setting projectPath on the tauri-action step to the path to the folder that contains the package.json file that installs the tauri cli?
If you're using the cargo based cli (which I don't think you do because it's not being installed in your workflow) you'll have to set tauriScript
to cargo tauri
from tauri-action.
p.s. if that doesn't help, please share a repo that contains this problem (either your actual repo or a minimal reproduction) so we can take a look
from tauri-action.
p.s. if that doesn't help, please share a repo that contains this problem (either your actual repo or a minimal reproduction) so we can take a look
Now it woks, but when I added the tauri updater plugin, it stopped working. Here's run -> https://github.com/Delfi1/InkSky/actions/runs/9305030269/job/25611003409
from tauri-action.
That link is 404 for me (and the repo empty). I assume the run failed because of a misconfiguration due to our lack of docs for v2.
from tauri-action.
That link is 404 for me (and the repo empty). I assume the run failed because of a misconfiguration due to our lack of docs for v2.
I decided to recreate the repository. I still get this error. https://github.com/Delfi1/InkSky/actions/runs/9314605180/job/25639111406
from tauri-action.
This error:
warning: `inksky` (bin "inksky") generated 2 warnings
Finished `release` profile [optimized] target(s) in 2m 48s
Built application at: /Users/runner/work/InkSky/InkSky/src-tauri/target/aarch64-apple-darwin/release/inksky
Bundling inksky.app (/Users/runner/work/InkSky/InkSky/src-tauri/target/aarch64-apple-darwin/release/bundle/macos/inksky.app)
Bundling inksky_0.0.1_aarch64.dmg (/Users/runner/work/InkSky/InkSky/src-tauri/target/aarch64-apple-darwin/release/bundle/dmg/inksky_0.0.1_aarch64.dmg)
Running bundle_dmg.sh
Bundling /Users/runner/work/InkSky/InkSky/src-tauri/target/aarch64-apple-darwin/release/bundle/macos/inksky.app.tar.gz (/Users/runner/work/InkSky/InkSky/src-tauri/target/aarch64-apple-darwin/release/bundle/macos/inksky.app.tar.gz)
Finished 2 bundles at:
/Users/runner/work/InkSky/InkSky/src-tauri/target/aarch64-apple-darwin/release/bundle/macos/inksky.app
/Users/runner/work/InkSky/InkSky/src-tauri/target/aarch64-apple-darwin/release/bundle/dmg/inksky_0.0.1_aarch64.dmg
/Users/runner/work/InkSky/InkSky/src-tauri/target/aarch64-apple-darwin/release/bundle/macos/inksky.app.tar.gz (updater)
Error Invalid symbol 44, offset 348.
Error: Command failed with exit code 1: npm run tauri build -- --target aarch64-apple-darwin
from tauri-action.
Related Issues (20)
- MacOS builds are quarantined HOT 1
- Unexpected error fetching GitHub release for tag HOT 1
- `publish-to-autorelease.yml` example overwrites an existing published release HOT 1
- latest.json file is not generated if productName contains spaces
- Validation Failed: {"resource":"ReleaseAsset","code":"already_exists","field":"name"} - https://docs.github.com/rest HOT 5
- [Feature Request] Add option to generate `SHASUMS256.txt` file in `tauri-action`.
- Signature verification fails when updating application build with v0.5.6 to one built with v0.5.9 HOT 5
- Special characters in productName prevent generation of latest.json HOT 1
- App is damaged and can't be opened on macOS when built in a GitHub action HOT 2
- debug build fails and does not create a release HOT 2
- Incorrect RPM artifact name
- --platform Arm based macs (M1 and above) errors out HOT 1
- Config arguments don't seem to work HOT 15
- Able to build v2 on Linux, not Windows or MacOS HOT 2
- Option to change base URL in latest.json HOT 4
- `tauri.conf.json` error on build HOT 2
- Failed to compile on Ubuntu: `Invalid PNG signature.` HOT 6
- Tauri v2 rc github action build fail on ubuntu 22.04 : could not compile `windows_x86_64_msvc` (lib) HOT 6
- retry arg
- Is it possible to compile linux arm64 architecture? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tauri-action.