mirror of https://github.com/citusdata/citus.git
Workaround the the runner issue in check-sql-snapshots
(cherry picked from commit 4bf9a7b7f0
)
pull/7885/head
parent
ae93a3b9af
commit
d75b3aac04
|
@ -39,8 +39,21 @@ jobs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
container:
|
container:
|
||||||
image: ${{ needs.params.outputs.build_image_name }}:latest
|
image: ${{ needs.params.outputs.build_image_name }}:latest
|
||||||
|
volumes:
|
||||||
|
# see https://github.com/actions/checkout/issues/1474#issuecomment-2604308106
|
||||||
|
- /tmp:/__e/node20
|
||||||
options: --user root
|
options: --user root
|
||||||
steps:
|
steps:
|
||||||
|
# see https://github.com/actions/checkout/issues/1474#issuecomment-2604308106
|
||||||
|
- name: Install node.js for GitHub Actions
|
||||||
|
run: |
|
||||||
|
apt-get install -y curl ca-certificates &&
|
||||||
|
# Install a Node.js version that works in older Ubuntu containers (read: does not require very recent glibc)
|
||||||
|
NODE_VERSION=v20.18.1 &&
|
||||||
|
NODE_TAR_FILE=node-$NODE_VERSION-linux-x64-glibc-217.tar.gz &&
|
||||||
|
NODE_URL=https://unofficial-builds.nodejs.org/download/release/$NODE_VERSION/$NODE_TAR_FILE &&
|
||||||
|
curl -Lo /tmp/$NODE_TAR_FILE $NODE_URL &&
|
||||||
|
tar -C /__e/node20 -x --strip-components=1 -f /tmp/$NODE_TAR_FILE
|
||||||
- uses: actions/checkout@v3.5.0
|
- uses: actions/checkout@v3.5.0
|
||||||
- name: Check Snapshots
|
- name: Check Snapshots
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue