Skip to content

Commit cd02b48

Browse files
Merge pull request #82 from Muckenbatscher/bugfix/sha-github-output
redirect commit SHA to `GITHUB_OUTPUT`
2 parents 3c16a07 + 84f02d6 commit cd02b48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/create_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: |
4444
COMMIT=$(cat .upstream-commit)
4545
echo "Testcase generation is based on official commit: $COMMIT"
46-
echo "sha=$COMMIT"
46+
echo "sha=$COMMIT" >> $GITHUB_OUTPUT
4747
4848
- uses: actions/setup-java@v5
4949
with:
@@ -121,7 +121,7 @@ jobs:
121121
path: ${{ env.TEST_THEME_DIR }}
122122

123123
- name: Update offical commit hash the testcases are based on
124-
run: cat ${{ needs.build-java.outputs.offical_commit }} > .github/workflows/official-commit/sha
124+
run: echo "${{ needs.build-java.outputs.offical_commit }}" > .github/workflows/official-commit/sha
125125

126126
- name: Check for changes in the testcases
127127
id: check_diff

0 commit comments

Comments
 (0)