Skip to content

Commit

Permalink
fix commit id get
Browse files Browse the repository at this point in the history
  • Loading branch information
okdshin committed Dec 2, 2023
1 parent f7de8f2 commit 628cc9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ jobs:
steps:
- name: Get Commit ID
id: get_commit_id
run: echo ::set-output name=commit_id::$(git rev-parse --short "$GITHUB_SHA")
run: |
COMMIT_ID=$(git rev-parse --short ${{ github.sha }})
echo "::set-output name=commit_id::${COMMIT_ID}"
- name: Create release
id: create_release
Expand Down

0 comments on commit 628cc9a

Please sign in to comment.