Closed Delfi1 closed 1 month ago
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
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
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
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.
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
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
.yml file:
Error: