Skip to content
Snippets Groups Projects
Unverified Commit 762264bc authored by Sergei Zharinov's avatar Sergei Zharinov Committed by GitHub
Browse files

ci: Detect commit SHA reliably (#22709)

parent 20c2d286
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,7 @@ jobs:
os-matrix-prefetch: ${{ steps.os-matrix-prefetch.outputs.matrix }}
test-shards: ${{ steps.test-shards.outputs.test-shards }}
test-shards-all: ${{ steps.test-shards.outputs.test-shards-all }}
commit-sha: ${{ steps.commit-sha.outputs.commit-sha }}
env:
# Field required for GitHub CLI
......@@ -92,6 +93,11 @@ jobs:
with:
sparse-checkout: ${{ env.SPARSE_CHECKOUT }}
- name: Detect commit SHA
id: commit-sha
run: |
echo "commit-sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
- name: Calculate `yarn-lock-hash` output
id: yarn-lock-hash
run: |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment