Skip to content

Commit 112f2bb

Browse files
authored
Merge pull request #4438 from z64555/fix/post-build-release-autotrigger01
Fix/post build release autotrigger01
2 parents 2beaa88 + 5b8dce1 commit 112f2bb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/post-build-release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ env:
3030
NEBULA_PASSWORD: ${{ secrets.NEBULA_PASSWORD }}
3131
HLP_API: ${{ secrets.HLP_API }}
3232
HLP_KEY: ${{ secrets.HLP_KEY }}
33-
RELEASE_TAG: ${{ github.event.inputs.releaseTag }}
33+
RELEASE_TAG: ${{ inputs.releaseTag }}
3434

3535
jobs:
3636
post_builds:
@@ -51,10 +51,10 @@ jobs:
5151
run: pip install -r ci/post/requirements.txt
5252

5353
- name: Post Builds (Auto trigger)
54-
if: ${{ github.event_name == 'workflow_call' }} || ${{ github.event_name == 'push' }}
54+
if: ${{ (github.event_name == 'workflow_call') || (github.event_name == 'push') }}
5555
env:
56-
LINUX_RESULT: ${{ github.event.inputs.linux_result }}
57-
WINDOWS_RESULT: ${{ github.event.inputs.windows_result }}
56+
LINUX_RESULT: ${{ inputs.linux_result }}
57+
WINDOWS_RESULT: ${{ inputs.windows_result }}
5858
run: python ci/post/main.py release
5959

6060
- name: Post Builds (Manual trigger)

0 commit comments

Comments
 (0)