chore(actions): fix bash pattern syntax being improper

This commit is contained in:
Erica Marigold 2024-12-25 19:09:56 +05:30 committed by GitHub
parent 42834db248
commit b55333d66e
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,9 @@ jobs:
steps:
- name: Trim commit SHA
id: trim_sha
run: echo "trimmed_sha=${{ github.sha:0:7 }}" >> $GITHUB_ENV
run: |
commit_sha=${{ github.sha }}
echo "trimmed_sha=${commit_sha:0:7}" >> $GITHUB_ENV
build:
strategy:
matrix: