Skip to content

Commit cc75080

Browse files
authored
Merge pull request #146 from wingo/fix-upload-compiled-tests
Fix logic to detect when to commit changes prod/testsuite-base
2 parents b5c407a + 55732b1 commit cc75080

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/compile-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
git checkout HEAD tests/assemblyscript/testsuite
154154
git checkout HEAD tests/c/testsuite
155155
git checkout HEAD tests/rust/testsuite
156-
git diff --quiet || git commit -m "Merge commit ${{ github.sha }} into prod/testsuite-base"
156+
git diff --quiet HEAD || git commit -m "Merge commit ${{ github.sha }} into prod/testsuite-base"
157157
158158
- name: Remove existing binaries
159159
run: rm -rf tests/${{ matrix.suite }}/testsuite
@@ -168,5 +168,5 @@ jobs:
168168
shell: bash
169169
run: |
170170
git add -f tests/${{ matrix.suite }}/testsuite
171-
git diff --quiet || git commit -m "Update test binaries for ${{ matrix.suite }} test suite"
171+
git diff --quiet HEAD || git commit -m "Update test binaries for ${{ matrix.suite }} test suite"
172172
git push

0 commit comments

Comments
 (0)