mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 04:00:59 +01:00
ci: add input to make releasing optional
This commit is contained in:
committed by
Abdullah Atta
parent
ba084aa5de
commit
6ae8738353
11
.github/workflows/desktop.publish.yml
vendored
11
.github/workflows/desktop.publish.yml
vendored
@@ -1,6 +1,13 @@
|
||||
name: Publish @notesnook/desktop
|
||||
|
||||
on: workflow_dispatch
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
release:
|
||||
type: boolean
|
||||
required: true
|
||||
default: false
|
||||
description: "Release after successful build?"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -91,7 +98,7 @@ jobs:
|
||||
|
||||
# If the commit is tagged with a version (e.g. "v1.0.0"),
|
||||
# release the app after building
|
||||
release: true
|
||||
release: ${{ inputs.release }}
|
||||
env:
|
||||
# macOS notarization API key
|
||||
API_KEY_ID: ${{ secrets.api_key_id }}
|
||||
|
||||
Reference in New Issue
Block a user