ci: downgrade actions/checkout and actions/upload-artifact version in build_packages

Starting from v4.0.0 actions/checkout has been using node20 runtime.
On Amazon Linux 2, EL7 and Ubuntu 18.04 GLIBC it's too old for node to run:
/__e/node20/bin/node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /__e/node20/bin/node)
/__e/node20/bin/node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /__e/node20/bin/node)
This commit is contained in:
Ivan Dyachkov 2024-01-11 17:54:42 +01:00
parent f65ab9b48c
commit beb70265a6
1 changed files with 2 additions and 3 deletions

View File

@ -153,7 +153,7 @@ jobs:
shell: bash
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
ref: ${{ github.event.inputs.ref }}
fetch-depth: 0
@ -194,12 +194,11 @@ jobs:
./scripts/pkg-tests.sh "${PROFILE}-tgz"
./scripts/pkg-tests.sh "${PROFILE}-pkg"
fi
- uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: ${{ matrix.profile }}-${{ matrix.otp }}-${{ matrix.arch }}-${{ matrix.os }}-${{ matrix.with_elixir == 'yes' && 'elixir' || 'erlang' }}
path: _packages/${{ matrix.profile }}/
retention-days: 7
compression-level: 0
publish_artifacts:
runs-on: ubuntu-latest