Skip to content

Commit e5f8307

Browse files
Use short sha
1 parent 4dcd6dd commit e5f8307

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ runs:
247247
if [ "${{ github.event_name }}" = "pull_request" ]; then
248248
IDENTIFIER="${{ github.event.pull_request.number }}"
249249
else
250-
IDENTIFIER="${{ github.sha }}"
250+
IDENTIFIER=$(echo "$GITHUB_SHA" | cut -c1-7)
251251
fi
252252
ARTIFACT_TRAITS="${{ inputs.variant }},${IDENTIFIER}"
253253
ARTIFACT_TRAITS_HYPHENATED=$(echo "$ARTIFACT_TRAITS" | tr ',' '-')

0 commit comments

Comments
 (0)