ci: add disable auto update flag
This commit is contained in:
parent
7c25d1dbfd
commit
2e6d1f6f8d
@ -12,6 +12,10 @@ on:
|
|||||||
- none
|
- none
|
||||||
- aws-s3
|
- aws-s3
|
||||||
default: none
|
default: none
|
||||||
|
disable_updater:
|
||||||
|
type: boolean
|
||||||
|
description: 'If true, builds both .deb and .appimage but disables auto-updater'
|
||||||
|
default: false
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- release/**
|
- release/**
|
||||||
|
|||||||
@ -28,6 +28,11 @@ on:
|
|||||||
type: string
|
type: string
|
||||||
default: 'nightly'
|
default: 'nightly'
|
||||||
description: 'The channel to use for this job'
|
description: 'The channel to use for this job'
|
||||||
|
disable_updater:
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
description: 'If true, builds both .deb and .appimage but disables auto-updater'
|
||||||
secrets:
|
secrets:
|
||||||
DELTA_AWS_S3_BUCKET_NAME:
|
DELTA_AWS_S3_BUCKET_NAME:
|
||||||
required: false
|
required: false
|
||||||
@ -156,7 +161,7 @@ jobs:
|
|||||||
POSTHOG_HOST: ${{ secrets.POSTHOG_HOST }}
|
POSTHOG_HOST: ${{ secrets.POSTHOG_HOST }}
|
||||||
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
|
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
|
||||||
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
|
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
|
||||||
|
AUTO_UPDATER_DISABLED: ${{ inputs.disable_updater && 'true' || 'false' }}
|
||||||
# Publish app
|
# Publish app
|
||||||
|
|
||||||
## Artifacts, for dev and test
|
## Artifacts, for dev and test
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user