Skip to content

Commit 64723d5

Browse files
authored
Merge pull request #260 from furgo16/stable
Publish release workflow improvements
2 parents 6049d5a + a94a133 commit 64723d5

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/publish-release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- stable
7+
paths-ignore:
8+
- '**.md'
79
workflow_dispatch:
810
inputs:
911
checkout_ref:
@@ -30,11 +32,10 @@ jobs:
3032
uses: ./.github/workflows/reusable-publish.yml
3133
with:
3234
os: ${{ matrix.os }}
33-
# Pass the arch from the matrix to the reusable workflow
3435
arch: ${{ matrix.arch }}
35-
# If a checkout_ref is provided by the dispatch, use it. Otherwise, use nothing (which means stable branch).
36-
checkout_ref: ${{ github.event.inputs.checkout_ref }}
37-
# Use the release_channel from the dispatch input. The default is already 'candidate'.
38-
release_channel: ${{ github.event.inputs.release_channel }}
36+
# If a checkout_ref is provided by the dispatch, use it. Otherwise, use the stable branch).
37+
checkout_ref: ${{ github.event.inputs.checkout_ref || 'stable' }}
38+
# Use the release_channel from the dispatch input; otherwise fallback to 'candidate'.
39+
release_channel: ${{ github.event.inputs.release_channel || 'candidate' }}
3940
secrets:
40-
store_login: ${{ secrets.STORE_LOGIN }}
41+
store_login: ${{ secrets.STORE_LOGIN }}

0 commit comments

Comments
 (0)