Skip to content

Commit 3f84ab7

Browse files
Checkout HEAD instead of merge commit (#131)
1 parent aeea62e commit 3f84ab7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/compile.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
18+
ref: ${{ github.event.pull_request.head.sha }}
1819
- uses: actions/setup-java@v3
1920
with:
2021
cache: 'gradle'
@@ -32,6 +33,7 @@ jobs:
3233
export HADOOP_HOME="$(pwd)/.github/workflows/hadoop3-win-binaries"
3334
fi
3435
./gradlew build testNative --no-daemon
36+
./gradlew server:app:printVersion --no-daemon -q
3537
shell: bash
3638
- name: Build container image
3739
if: runner.os == 'Linux'

0 commit comments

Comments
 (0)