Skip to content

Commit 8f98dbb

Browse files
committed
fixup! fixup! Update from Centos6 to Centos7 on i386 and x86_64 Java build environments as we require a version of CMake newer than 3.10 to build Snappy
1 parent 57a30a1 commit 8f98dbb

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/pr-jobs.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,17 @@ jobs:
555555
image: evolvedbinary/rocksjava:centos7_x64-be
556556
options: --shm-size=16gb
557557
steps:
558-
- uses: actions/checkout@v4.1.0
558+
# The docker image is intentionally based on an OS that has an older GLIBC version.
559+
# That GLIBC is incompatibile with GitHub's actions/checkout. Thus we implement a manual checkout step.
560+
- name: Checkout
561+
env:
562+
GH_TOKEN: ${{ github.token }}
563+
run: |
564+
chown `whoami` . || true
565+
git clone --no-checkout https://oath2:$GH_TOKEN@github.com/${{ github.repository }}.git .
566+
git -c protocol.version=2 fetch --update-head-ok --no-tags --prune --no-recurse-submodules --depth=1 origin +${{ github.sha }}:${{ github.ref }}
567+
git checkout --progress --force ${{ github.ref }}
568+
git log -1 --format='%H'
559569
- uses: "./.github/actions/install-maven"
560570
- uses: "./.github/actions/pre-steps"
561571
- name: Set Java Environment

0 commit comments

Comments
 (0)