Skip to content

Commit 8b11765

Browse files
committed
chore: update ci
1 parent ba5505c commit 8b11765

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build-orchestrator.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ jobs:
163163
build_variant: ${{ needs.prepare.outputs.build_variant }}
164164
custom_url: ${{ inputs.custom_url }}
165165
git_ref: ${{ needs.bump-version.outputs.version_tag || github.ref }}
166-
checkout_branch: draft-linux-fixes
166+
checkout_branch: '' # Use git_ref instead - will fall back to current branch
167167

168168
build-setapp:
169169
needs: [prepare, bump-version]
@@ -175,7 +175,7 @@ jobs:
175175
uses: ./.github/workflows/build-setapp.yml
176176
secrets: inherit
177177
with:
178-
git_ref: ${{ needs.bump-version.outputs.version_tag || 'draft-setapp-wrapper-support' }}
178+
git_ref: ${{ needs.bump-version.outputs.version_tag || github.ref }} # Use current branch instead of hardcoding
179179

180180
create-draft:
181181
needs: [prepare, build-macos, build-windows, build-linux]

.github/workflows/build-setapp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
description: 'Git ref to checkout'
88
required: false
99
type: string
10-
default: 'draft-setapp-wrapper-support'
10+
default: '' # Will use github.ref if not specified
1111

1212
outputs:
1313
artifact_name:
@@ -29,7 +29,7 @@ jobs:
2929
- name: Checkout Setapp branch
3030
uses: actions/checkout@v4
3131
with:
32-
ref: ${{ inputs.git_ref }}
32+
ref: ${{ inputs.git_ref || github.ref }} # Fall back to current branch if not specified
3333

3434
- name: Setup Node.js
3535
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)