Skip to content

Commit f8d3fc3

Browse files
committed
Make sure we're compiling on ubuntu-20.04
1 parent 02efd28 commit f8d3fc3

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/nightly-release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
build-linux-gnu-x64:
3939
name: linux-gnu-x64
40-
runs-on: ubuntu-latest
40+
runs-on: ubuntu-20.04
4141
container:
4242
image: docker.io/adrienv1520/nodejs-16-centos7
4343
steps:
@@ -79,7 +79,7 @@ jobs:
7979
strip: aarch64-linux-gnu-strip
8080
cflags: ''
8181
name: ${{ matrix.target }}
82-
runs-on: ubuntu-latest
82+
runs-on: ubuntu-20.04
8383
steps:
8484
- uses: actions/checkout@v1
8585
- name: Install Rust
@@ -129,7 +129,7 @@ jobs:
129129
strip: aarch64-linux-musl-strip
130130
cflags: ''
131131
name: ${{ matrix.target }}
132-
runs-on: ubuntu-latest
132+
runs-on: ubuntu-20.04
133133
container:
134134
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
135135
credentials:
@@ -196,7 +196,7 @@ jobs:
196196
run: ls -l packages/*/*/*.node
197197

198198
build-and-release:
199-
runs-on: ubuntu-latest
199+
runs-on: ubuntu-20.04
200200
name: Build and release nightly
201201
needs:
202202
- build

.github/workflows/tag-release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
build-linux-gnu-x64:
3939
name: linux-gnu-x64
40-
runs-on: ubuntu-latest
40+
runs-on: ubuntu-20.04
4141
container:
4242
image: docker.io/adrienv1520/nodejs-16-centos7
4343
steps:
@@ -79,7 +79,7 @@ jobs:
7979
strip: aarch64-linux-gnu-strip
8080
cflags: ''
8181
name: ${{ matrix.target }}
82-
runs-on: ubuntu-latest
82+
runs-on: ubuntu-20.04
8383
steps:
8484
- uses: actions/checkout@v1
8585
- name: Install Rust
@@ -129,7 +129,7 @@ jobs:
129129
strip: aarch64-linux-musl-strip
130130
cflags: ''
131131
name: ${{ matrix.target }}
132-
runs-on: ubuntu-latest
132+
runs-on: ubuntu-20.04
133133
container:
134134
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
135135
credentials:
@@ -196,7 +196,7 @@ jobs:
196196
run: ls -l packages/*/*/*.node
197197

198198
build-and-release:
199-
runs-on: ubuntu-latest
199+
runs-on: ubuntu-20.04
200200
name: Build and release the tagged version
201201
needs:
202202
- build

0 commit comments

Comments
 (0)