File tree 1 file changed +12
-3
lines changed
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -41,14 +41,19 @@ jobs:
41
41
package-lock.json
42
42
test/package-lock.json
43
43
44
+ # node-gyp needs a newer version of Python.
45
+ - uses : actions/setup-python@v5
46
+ with :
47
+ python-version : " 3.12"
48
+
44
49
- run : SKIP_SUBMODULE_DEPS=1 npm ci
45
50
46
51
- name : Install development tools
47
52
run : |
48
53
cd /etc/yum.repos.d/
49
54
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
50
55
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
52
57
53
58
- name : Install nfpm and envsubst
54
59
run : |
@@ -138,6 +143,11 @@ jobs:
138
143
package-lock.json
139
144
test/package-lock.json
140
145
146
+ # node-gyp needs a newer version of Python.
147
+ - uses : actions/setup-python@v5
148
+ with :
149
+ python-version : " 3.12"
150
+
141
151
- name : Install cross-compiler and system dependencies
142
152
run : |
143
153
dpkg --add-architecture $TARGET_ARCH
@@ -149,8 +159,7 @@ jobs:
149
159
libsecret-1-dev:$TARGET_ARCH \
150
160
libkrb5-dev:$TARGET_ARCH \
151
161
ca-certificates \
152
- curl wget rsync gettext-base \
153
- python3
162
+ curl wget rsync gettext-base
154
163
155
164
- run : SKIP_SUBMODULE_DEPS=1 npm ci
156
165
You can’t perform that action at this time.
0 commit comments