diff options
author | GeckoEidechse <gecko.eidechse+git@pm.me> | 2022-10-06 15:04:28 +0200 |
---|---|---|
committer | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2022-10-07 21:45:34 +0200 |
commit | 4e6c3fc46b46b6509b97a5aeeaef8f5ab9396093 (patch) | |
tree | aca180366cbb8b878cefca53adfbdeb5731d9b07 /.github/workflows/push-test.yml | |
parent | 831a38fb38122d1b2a28341bb26b903163862e1c (diff) | |
download | FlightCore-4e6c3fc46b46b6509b97a5aeeaef8f5ab9396093.tar.gz FlightCore-4e6c3fc46b46b6509b97a5aeeaef8f5ab9396093.zip |
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.
Diffstat (limited to '.github/workflows/push-test.yml')
-rw-r--r-- | .github/workflows/push-test.yml | 6 |
1 files changed, 6 insertions, 0 deletions
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 }} |