Skip to content

Commit 89b0ece

Browse files
committed
try to release
Signed-off-by: Tony Xiang <19280867+TonyXiang8787@users.noreply.github.com>
1 parent 45dcff3 commit 89b0ece

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/sync-headers.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@
55

66
name: Sync headers from upstream repository (brew)
77

8-
inputs:
9-
force_publish:
10-
description: 'Force publish the headers'
11-
required: false
12-
default: 'false'
8+
139

1410
on:
1511
workflow_dispatch:
12+
inputs:
13+
force_publish:
14+
description: 'Force publish the headers'
15+
required: false
16+
default: false
17+
type: boolean
18+
1619
schedule:
1720
- cron: "0 2 * * 0" # Runs at 02:00 UTC every Sunday
1821

@@ -71,7 +74,7 @@ jobs:
7174
commit_author: GitHub Actions Bot <actions@github.com>
7275

7376
- name: publish
74-
if: ${{ inputs.force_publish == 'true' || steps.commit.outputs.changes_detected == 'true' }}
77+
if: ${{ inputs.force_publish == 'true' || steps.commit.outputs.changes_detected }}
7578
uses: softprops/action-gh-release@v2
7679
with:
7780
tag_name: ${{ env.VERSION }}

0 commit comments

Comments
 (0)