Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub action for Windows build fails #14

Open
mardukbp opened this issue Sep 15, 2022 · 1 comment
Open

GitHub action for Windows build fails #14

mardukbp opened this issue Sep 15, 2022 · 1 comment

Comments

@mardukbp
Copy link

mardukbp commented Sep 15, 2022

According to tauri-apps/tauri-action#240:

Because your project still uses tauri's beta version you need to pin the action to tauri-action@v0.2

According to tauri-apps/tauri-action#299 (comment):

Actually this looks like the issue fixed in tauri-apps/tauri-action#227 - Upgrade your tauri-action dependency to v0.3 and it should work.

Hopefully this works. Otherwise, it might be a good incentive for upgrading to Tauri 1.0 :)

@nilaysavant
Copy link
Owner

Hey, thanks for debugging this. Will try to pin the tauri-action to v0.2 or v0.3 and see if it works out.
Tauri 1.0 is exciting and I'll be looking into it. If its compatible enough, might upgrade to it.

slashtechno added a commit to slashtechno/code-macros that referenced this issue Oct 19, 2022
Glitch752 pushed a commit to Glitch752/code-macros that referenced this issue Oct 25, 2022
* Added tauri-apps/tauri-action@v0.2.0

* Changed to tauri-action@v0.2
As per tauri-apps/tauri-action#240

* Changed to tauri-action@v0.3
As per nilaysavant/mediocre#14

* Omit `install app dependencies and build it`

* Changed distDir in tauri.conf.json
The path previously was "Set automatically by Vue CLI plugin"
I suspect this caused the error encountered in GH actions

* Forgot to set configPath previously

* Set distPath in workflow

* Set projectPath

* Build with yarn during workflow

* Don't specify projectPath during workflow

* Update workflow... again

* Try different tauri config

* Update .gitignore

* Changed build command in workflow

* Updated workflow

* Added a cross-build workflow

* Fixed indentation of workflow

* For now, disable OS matrix for workflow

* Change `yarn` to `yarn build` in workflow

* Run `yarn install` in workflow

* Install libudev-dev in workflow

* Add .cargo/config.toml

* Update actions-rs/toolchain@v1.0.6

* Update node action

* Update tauri.conf.json

* Updated workflow

* Switch to JonasKruckenberg/tauri-build@v1.0.3

* Fixed error

* Install libudev-dev during workflow

* Fixed artifact uploading

* Fixed typo

* Remove `ls` and `echo` from workflow

* Updated Ubuntu version

* Install `lld` in workflow

* Install `lld` in workflow

* Add `libinput-dev` to dependencies for workflow

* Add `libinput-dev` to dependencies for workflow

* Don't install lld and set CARGO_TARGET_DIR
Also cross-compile using an OS matrix

* Only use `apt` on Ubuntu in workflow

* Fixed artifact upload + added releasing

* Fixed GITHUB.WORKSPACE env

* Changed `ubuntu-22.04` to `ubuntu-latest`

* Changed apt command in workflow

* Don't compress binaries in workflow

* Fix (commented out) zip command

* Use multiple jobs to ensure upload of all files

* Tried to fix YML error

* Tried to fix YAML error... again

* Fix uploading of artifact in workflow

* Changed GITHUB_WORKSPACE to GITHUB.WORKSPACE

* Fixed another occurence of the wrong env syntax

* Require build-binaries to run first in workflow

* Fixed upload-binaries

* Added wildcard to binary upload path

* Fixed wildcard path in workflow... hopefully

* Upload binaries.zip, but not build-appimage.sh

* Add a build workflow which doesn't release

* Renamed `Build Binaries` workflow to `Build`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants