Closed 1zun4 closed 8 months ago
macos fails because bundle.targets in tauri.conf doesn't contain any macos bundle types. I'm not too happy that it's failing the ci because of that but it's an issue with the tauri cli, not the action.
I can't check out windows until later but in the meantime maybe try adding args: --verbose
to the tauri-action step and see if it gives us more info.
windows with --verbose:
Compiling urlencoding v2.1.3
Finished `release` profile [optimized] target(s) in 10m 51s
Info [tauri_bundler::bundle::windows::msi::wix] Verifying wix package
Downloading [tauri_bundler::bundle::windows::util] https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip
Debug [ureq::stream] connecting to github.com:443 at 140.82.112.3:443
Debug [rustls::client::hs] No cached session for DnsName("github.com")
Debug [rustls::client::hs] Not resuming any session
Debug [rustls::client::hs] Using ciphersuite TLS13_AES_128_GCM_SHA256
Debug [rustls::client::tls13] Not resuming
Debug [rustls::client::tls13] TLS1.3 encrypted extensions: [ServerNameAck]
Debug [rustls::client::hs] ALPN protocol is None
Debug [ureq::stream] created stream: Stream(RustlsStream)
Debug [ureq::unit] sending request GET https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip
Debug [ureq::unit] writing prelude: GET /wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip HTTP/1.1
Host: github.com
User-Agent: ureq/2.9.6
Accept: */*
accept-encoding: gzip
Debug [ureq::response] zero-length body returning stream directly to pool
Debug [ureq::pool] adding stream to pool: https|github.com|443 -> Stream(RustlsStream)
Debug [ureq::unit] response 302 to GET https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip
Debug [ureq::unit] redirect 302 https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip -> https://objects.githubusercontent.com/github-production-release-asset-2e65be/17723789/6aaeda80-da25-11e9-8564-82dd8c5115cd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240321%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240321T115902Z&X-Amz-Expires=300&X-Amz-Signature=077db34a41106671d5552b3a0ac00f4dbb2f31284f0d604f0aad75414adbc37e&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=17723789&response-content-disposition=attachment%3B%20filename%3Dwix311-binaries.zip&response-content-type=application%2Foctet-stream
Debug [ureq::stream] connecting to objects.githubusercontent.com:443 at 185.199.111.133:443
Debug [rustls::client::hs] No cached session for DnsName("objects.githubusercontent.com")
Debug [rustls::client::hs] Not resuming any session
Debug [rustls::client::hs] Using ciphersuite TLS13_AES_128_GCM_SHA256
Debug [rustls::client::tls13] Not resuming
Debug [rustls::client::tls13] TLS1.3 encrypted extensions: [ServerNameAck]
Debug [rustls::client::hs] ALPN protocol is None
Debug [ureq::stream] created stream: Stream(RustlsStream)
Debug [ureq::unit] sending request GET https://objects.githubusercontent.com/github-production-release-asset-2e65be/17723789/6aaeda80-da25-11e9-8564-82dd8c5115cd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240321%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240321T115902Z&X-Amz-Expires=300&X-Amz-Signature=077db34a41106671d5552b3a0ac00f4dbb2f31284f0d604f0aad75414adbc37e&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=17723789&response-content-disposition=attachment%3B%20filename%3Dwix311-binaries.zip&response-content-type=application%2Foctet-stream
Debug [ureq::unit] writing prelude: GET /github-production-release-asset-2e65be/17723789/6aaeda80-da25-11e9-8564-82dd8c5115cd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240321%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240321T115902Z&X-Amz-Expires=300&X-Amz-Signature=077db34a41106671d5552b3a0ac00f4dbb2f31284f0d604f0aad75414adbc37e&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=17723789&response-content-disposition=attachment%3B%20filename%3Dwix311-binaries.zip&response-content-type=application%2Foctet-stream HTTP/1.1
Host: objects.githubusercontent.com
User-Agent: ureq/2.9.6
Accept: */*
accept-encoding: gzip
Debug [ureq::response] Streaming body until content-length: 34670186
Debug [ureq::unit] response 200 to GET https://objects.githubusercontent.com/github-production-release-asset-2e65be/17723789/6aaeda80-da25-11e9-8564-82dd8c5115cd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240321%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240321T115902Z&X-Amz-Expires=300&X-Amz-Signature=077db34a41106671d5552b3a0ac00f4dbb2f31284f0d604f0aad75414adbc37e&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=17723789&response-content-disposition=attachment%3B%20filename%3Dwix311-binaries.zip&response-content-type=application%2Foctet-stream
Debug [ureq::pool] adding stream to pool: https|objects.githubusercontent.com|443 -> Stream(RustlsStream)
Debug [ureq::stream] dropping stream: Stream(RustlsStream)
Debug [ureq::stream] dropping stream: Stream(RustlsStream)
Info [tauri_bundler::bundle::windows::util] validating hash
Info [tauri_bundler::bundle::windows::msi::wix] extracting WIX
Info [tauri_bundler::bundle::windows::msi::wix] Target: x64
Downloading [tauri_bundler::bundle::windows::util] https://go.microsoft.com/fwlink/p/?LinkId=2124703
Debug [ureq::stream] connecting to go.microsoft.com:443 at 23.33.182.219:443
Debug [rustls::client::hs] No cached session for DnsName("go.microsoft.com")
Debug [rustls::client::hs] Not resuming any session
Debug [rustls::client::hs] Using ciphersuite TLS13_AES_256_GCM_SHA384
Debug [rustls::client::tls13] Not resuming
Debug [rustls::client::tls13] TLS1.3 encrypted extensions: [ServerNameAck, Unknown(UnknownExtension { typ: EllipticCurves, payload: 00040017001d })]
Debug [rustls::client::hs] ALPN protocol is None
Debug [ureq::stream] created stream: Stream(RustlsStream)
Debug [ureq::unit] sending request GET https://go.microsoft.com/fwlink/p/?LinkId=2124703
Debug [ureq::unit] writing prelude: GET /fwlink/p/?LinkId=2124703 HTTP/1.1
Host: go.microsoft.com
User-Agent: ureq/2.9.6
Accept: */*
accept-encoding: gzip
Debug [ureq::response] zero-length body returning stream directly to pool
Debug [ureq::pool] adding stream to pool: https|go.microsoft.com|443 -> Stream(RustlsStream)
Debug [ureq::unit] response 301 to GET https://go.microsoft.com/fwlink/p/?LinkId=2124703
Debug [ureq::unit] redirect 301 https://go.microsoft.com/fwlink/p/?LinkId=2124703 -> https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/c8e4de1e-1621-4dfc-bb37-5c390ed2c052/MicrosoftEdgeWebview2Setup.exe
Debug [ureq::stream] connecting to msedge.sf.dl.delivery.mp.microsoft.com:443 at 204.79.197.219:443
Debug [rustls::client::hs] No cached session for DnsName("msedge.sf.dl.delivery.mp.microsoft.com")
Debug [rustls::client::hs] Not resuming any session
Debug [rustls::client::hs] ALPN protocol is None
Debug [rustls::client::hs] Using ciphersuite TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
Debug [rustls::client::tls12::server_hello] Server supports tickets
Debug [rustls::client::tls12::server_hello] Server may staple OCSP response
Debug [rustls::client::tls12] ECDHE curve is EcParameters { curve_type: NamedCurve, named_group: secp384r1 }
Debug [rustls::client::tls12] Server DNS name is DnsName("msedge.sf.dl.delivery.mp.microsoft.com")
Debug [ureq::stream] created stream: Stream(RustlsStream)
Debug [ureq::unit] sending request GET https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/c8e4de1e-1621-4dfc-bb37-5c390ed2c052/MicrosoftEdgeWebview2Setup.exe
Debug [ureq::unit] writing prelude: GET /filestreamingservice/files/c8e4de1e-1621-4dfc-bb37-5c390ed2c052/MicrosoftEdgeWebview2Setup.exe HTTP/1.1
Host: msedge.sf.dl.delivery.mp.microsoft.com
User-Agent: ureq/2.9.6
Accept: */*
accept-encoding: gzip
Debug [ureq::response] Streaming body until content-length: 1617[864](https://github.com/CCBlueX/LiquidLauncher/actions/runs/8374381128/job/22929494243#step:8:865)
Debug [ureq::unit] response 200 to GET https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/c8e4de1e-1621-4dfc-bb37-5c390ed2c052/MicrosoftEdgeWebview2Setup.exe
Debug [ureq::pool] adding stream to pool: https|msedge.sf.dl.delivery.mp.microsoft.com|443 -> Stream(RustlsStream)
Debug [ureq::stream] dropping stream: Stream(RustlsStream)
Debug [ureq::stream] dropping stream: Stream(RustlsStream)
Error [tauri_cli_node] failed to bundle project: `The system cannot find the file specified. (os error 2)`
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
thanks.
The issue is your licenseFile config. The config is a path relative to the tauri.conf.json file so just LICENSE is wrong and it should be ../LICENSE instead
Thank you very much! I will try it.
Hi there,
I'm not sure if this is related to Tauri action or Tauri itself, but so far I've only tested it with GitHub workflow. The following problem occurs:
On Windows:
On macOS:
On Linux (Ubuntu) - NO ISSUE:
GitHub Workflow Config: https://github.com/CCBlueX/LiquidLauncher/blob/aad3aed277ae5d71d6cbd6066347314d02f58fa7/.github/workflows/build.yml
Workflow Run: https://github.com/CCBlueX/LiquidLauncher/actions/runs/8368961167
Info (from my local machine):
Anyone with a similar problem? I have not been able to find a related issue in any of the repositories.