Skip to content

Commit 98eb4f2

Browse files
[release] fix job outputs in release action
1 parent 519f947 commit 98eb4f2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ on:
1313
types: [completed]
1414

1515
jobs:
16-
check-commit:
16+
check_commit:
1717
name: Check Commit
1818
runs-on: ubuntu-latest
1919
outputs:
20-
IS_RELEASE: ${{ steps.check_commit.outputs.IS_RELEASE }}
21-
LATEST_COMMIT_MSG: ${{ steps.check_commit.outputs.LATEST_COMMIT_MSG }}
20+
IS_RELEASE: ${{ steps.check_msg.outputs.IS_RELEASE }}
21+
LATEST_COMMIT_MSG: ${{ steps.check_msg.outputs.LATEST_COMMIT_MSG }}
2222
steps:
2323
- name: Check out Git repository
2424
uses: actions/checkout@v4
2525

2626
- name: Check latest commit message
27-
id: check_commit
27+
id: check_msg
2828
run: |
2929
set -e
3030
@@ -43,9 +43,9 @@ jobs:
4343
release:
4444
name: Release
4545
runs-on: ubuntu-latest
46-
if: ${{ needs.check-commit.outputs.IS_RELEASE == 'true' }}
46+
if: ${{ needs.check_commit.outputs.IS_RELEASE == 'true' }}
4747
env:
48-
LATEST_COMMIT_MSG: ${{ needs.check-commit.outputs.LATEST_COMMIT_MSG }}
48+
LATEST_COMMIT_MSG: ${{ needs.check_commit.outputs.LATEST_COMMIT_MSG }}
4949
steps:
5050
- name: Check out Git repository
5151
uses: actions/checkout@v4

0 commit comments

Comments
 (0)