Skip to content

Commit 62f1dcd

Browse files
committed
update node and ubuntu dependencies
1 parent a844998 commit 62f1dcd

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

.github/workflows/rebuildElectron.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,26 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
runs-on: ubuntu-latest
14-
container: ubuntu:18.04
14+
container: ubuntu:22.04
1515
steps:
1616
- name: Print Tag Ref
1717
run: echo ${{ github.ref }}
1818

1919
- name: Install Dependencies for Ubuntu
2020
# git >= 2.18 required for actions/checkout git support
21-
run: apt update && apt install -y software-properties-common && add-apt-repository -y ppa:git-core/ppa && apt update && apt install -y git wget build-essential clang python3 libkrb5-dev libc++-dev zlib1g-dev libssl-dev
21+
run: apt update && apt install -y software-properties-common git wget build-essential clang python3 libkrb5-dev libc++-dev zlib1g-dev libssl-dev
2222
env:
2323
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
2424

25-
# v4 requires node 20, which won't run due to GLIBC 2.28+ requirement
26-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2726

28-
# v4 requires node 20, which won't run due to GLIBC 2.28+ requirement
29-
- name: Use Node.js 16
30-
uses: actions/setup-node@v3
27+
- name: Use Node.js 20
28+
uses: actions/setup-node@v4
3129
env:
3230
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
3331
with:
34-
node-version: 16
32+
node-version: 20
33+
architecture: ${{ matrix.arch }}
3534

3635
# We're running in docker without other users
3736
- name: Set npm config
@@ -94,12 +93,12 @@ jobs:
9493

9594
- uses: actions/checkout@v4
9695

97-
- name: Use Node.js 16
96+
- name: Use Node.js 20
9897
uses: actions/setup-node@v4
9998
env:
10099
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
101100
with:
102-
node-version: 16
101+
node-version: 20
103102
architecture: ${{ matrix.arch }}
104103

105104
- name: Use Python 3.11 # node-gyp < 10 breaks with 3.12
@@ -162,12 +161,12 @@ jobs:
162161

163162
- uses: actions/checkout@v4
164163

165-
- name: Use Node.js 16
164+
- name: Use Node.js 20
166165
uses: actions/setup-node@v4
167166
env:
168167
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
169168
with:
170-
node-version: 16
169+
node-version: 20
171170
architecture: ${{ matrix.arch }}
172171

173172
- name: Use Python 3.11 # node-gyp < 10 breaks with 3.12

0 commit comments

Comments
 (0)