File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -41,14 +41,19 @@ jobs:
4141 package-lock.json
4242 test/package-lock.json
4343
44+ # node-gyp needs a newer version of Python.
45+ - uses : actions/setup-python@v5
46+ with :
47+ python-version : " 3.12"
48+
4449 - run : SKIP_SUBMODULE_DEPS=1 npm ci
4550
4651 - name : Install development tools
4752 run : |
4853 cd /etc/yum.repos.d/
4954 sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
5055 sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
51- yum install -y gcc-c++ make jq rsync python3 libsecret-devel krb5-devel
56+ yum install -y gcc-c++ make jq rsync libsecret-devel krb5-devel
5257
5358 - name : Install nfpm and envsubst
5459 run : |
@@ -138,6 +143,11 @@ jobs:
138143 package-lock.json
139144 test/package-lock.json
140145
146+ # node-gyp needs a newer version of Python.
147+ - uses : actions/setup-python@v5
148+ with :
149+ python-version : " 3.12"
150+
141151 - name : Install cross-compiler and system dependencies
142152 run : |
143153 dpkg --add-architecture $TARGET_ARCH
@@ -149,8 +159,7 @@ jobs:
149159 libsecret-1-dev:$TARGET_ARCH \
150160 libkrb5-dev:$TARGET_ARCH \
151161 ca-certificates \
152- curl wget rsync gettext-base \
153- python3
162+ curl wget rsync gettext-base
154163
155164 - run : SKIP_SUBMODULE_DEPS=1 npm ci
156165
You can’t perform that action at this time.
0 commit comments