From 4e6c3fc46b46b6509b97a5aeeaef8f5ab9396093 Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Thu, 6 Oct 2022 15:04:28 +0200 Subject: fix: Disable self-updater in CI builds from push Remedies the issue that anyone pushing without access to private key will see their CI fail. --- .github/workflows/push-test.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/push-test.yml b/.github/workflows/push-test.yml index 404391e3..a2007885 100644 --- a/.github/workflows/push-test.yml +++ b/.github/workflows/push-test.yml @@ -38,6 +38,12 @@ jobs: run: | sudo apt-get update sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf + - name: Disable self-updater + shell: bash + run: | + jq '.tauri.updater.active = false' src-tauri/tauri.conf.json > src-tauri/tauri.conf.json.new + rm src-tauri/tauri.conf.json + mv src-tauri/tauri.conf.json.new src-tauri/tauri.conf.json - name: install app dependencies and build it env: TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} -- cgit v1.2.3