mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
fix: do not build unsigned desktop app bundles on every PR in ci. add manual option. (#5550)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
name: Manual Desktop Bundle (Unsigned)
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
branch:
|
||||
description: 'Branch name to bundle app from'
|
||||
required: true
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
bundle-desktop-unsigned:
|
||||
uses: ./.github/workflows/bundle-desktop.yml
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: read
|
||||
with:
|
||||
signing: false
|
||||
ref: ${{ inputs.branch }}
|
||||
@@ -3,6 +3,7 @@
|
||||
# - release.yml
|
||||
# - canary.yml
|
||||
# - pr-comment-bundle-desktop.yml
|
||||
# - bundle-desktop-manual.yml
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
|
||||
@@ -131,13 +131,4 @@ jobs:
|
||||
run: source ../../bin/activate-hermit && npm run test:run
|
||||
working-directory: ui/desktop
|
||||
|
||||
# Faster Desktop App build for PRs only
|
||||
bundle-desktop-unsigned:
|
||||
uses: ./.github/workflows/bundle-desktop.yml
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: read
|
||||
needs: changes
|
||||
if: (github.event_name == 'pull_request' || github.event_name == 'merge_group') && (needs.changes.outputs.code == 'true' || github.event_name != 'pull_request')
|
||||
with:
|
||||
signing: false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user