chore(actions): use tee to write trimmed version to stdout for debugging

This commit is contained in:
Erica Marigold 2024-12-25 19:15:29 +05:30 committed by GitHub
parent b55333d66e
commit 957d773f91
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -12,7 +12,7 @@ jobs:
id: trim_sha id: trim_sha
run: | run: |
commit_sha=${{ github.sha }} commit_sha=${{ github.sha }}
echo "trimmed_sha=${commit_sha:0:7}" >> $GITHUB_ENV echo "trimmed_sha=r${commit_sha:0:7}" | tee $GITHUB_ENV
build: build:
strategy: strategy:
matrix: matrix: