Skip to content

Commit

Permalink
Pull the right sha
Browse files Browse the repository at this point in the history
  • Loading branch information
amishas157 committed Aug 9, 2024
1 parent 37fa6a5 commit 9c27cda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- name: Add SHORT_SHA env property with commit short sha
run: |
SHORT_SHA=$(echo "${GITHUB_SHA}" | cut -c1-7)
SHORT_SHA=$(git rev-parse --short ${{ github.sha }})
echo "SHORT_SHA=$SHORT_SHA" >> $GITHUB_ENV
echo "Short SHA: $SHORT_SHA"
Expand Down

0 comments on commit 9c27cda

Please sign in to comment.