Skip to content

Commit ccfea5f

Browse files
authored
Fix? Build-release workflow
Help
1 parent a4921cf commit ccfea5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- name: Create short commit SHA
1717
id: create_short_sha
18-
run: echo "::set-output name=sha_short::$(cd $GITHUB_WORKSPACE || git rev-parse --short ${{ github.event.pull_request.head.sha }})"
18+
run: echo "::set-output name=sha_short::$(echo ${{ github.event.pull_request.head.sha }} | cut -c1-8))"
1919

2020
- name: release
2121
uses: actions/create-release@v1

0 commit comments

Comments
 (0)