From 867e9908b84888cb1e2f0e7e9381619285b78f2d Mon Sep 17 00:00:00 2001 From: thorsten Date: Sun, 30 Aug 2026 18:27:13 +0200 Subject: [PATCH] Install the tool the licence step depends on MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `npm run licenses` shells out to `cargo license`, which no GitHub runner image carries — so both jobs that regenerate the notices died on it. The release job never produced an installer at all, and the notices are the part the licences actually require to ship. --- .github/workflows/ci.yml | 5 +++++ .github/workflows/release.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6df3f4a..0ae5340 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,6 +91,11 @@ jobs: # Regenerated rather than trusted: the notices ship inside the installer because MIT, BSD and # ISC all require the notice to accompany the distribution, and a stale file quietly stops # naming a dependency that was added after it was last written. + # `npm run licenses` shells out to `cargo license`, which no runner image carries. Without it + # the notices cannot be regenerated, and they are what the licences require to ship. + - name: Install cargo-license + run: cargo install cargo-license --locked + - run: npm run licenses - run: npm run app:build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2a20757..e5b5f2f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,6 +39,11 @@ jobs: # Regenerated rather than trusted: the notices ship inside the installer because MIT, BSD and # ISC all require the notice to accompany the distribution, and a stale file quietly stops # naming a dependency that was added after it was last written. + # `npm run licenses` shells out to `cargo license`, which no runner image carries. Without it + # the notices cannot be regenerated, and they are what the licences require to ship. + - name: Install cargo-license + run: cargo install cargo-license --locked + - run: npm run licenses # The private half of the minisign key pair whose public half is in tauri.conf.json. Without