Skip to content

Commit 61bba26

Browse files
chore: use ubuntu 22 to build binaries (#901)
* Use ubuntu 22 to build binaries * Add change file
1 parent db3ccf4 commit 61bba26

11 files changed

Lines changed: 24 additions & 18 deletions

.changes/ubuntu-22.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"create-tauri-app": "patch"
3+
"create-tauri-app-js": "patch"
4+
---
5+
6+
Build release binaries on ubuntu 22 to support slightly older glibc versions

.github/workflows/audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
audit-js:
4141
runs-on: ubuntu-latest
4242
steps:
43-
- uses: actions/checkout@v3
43+
- uses: actions/checkout@v4
4444
- run: |
4545
npm i -g --force corepack
4646
corepack enable

.github/workflows/cli-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
toolchain: [1.71, stable]
3636

3737
steps:
38-
- uses: actions/checkout@v3
38+
- uses: actions/checkout@v4
3939
- uses: dtolnay/rust-toolchain@master
4040
with:
4141
toolchain: ${{ matrix.toolchain }}

.github/workflows/clippy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
clippy:
2929
runs-on: ubuntu-latest
3030
steps:
31-
- uses: actions/checkout@v3
31+
- uses: actions/checkout@v4
3232
- uses: dtolnay/rust-toolchain@stable
3333
with:
3434
components: clippy

.github/workflows/covector-status.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414
with:
1515
fetch-depth: 0
1616
- name: covector status

.github/workflows/covector-version-or-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
successfulPublish: ${{ steps.covector.outputs.successfulPublish }}
2222

2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525
with:
2626
fetch-depth: 0
2727

.github/workflows/deploy-scripts-worker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
if: github.repository_owner == 'tauri-apps'
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222
- uses: cloudflare/wrangler-action@2.0.0
2323
with:
2424
command: publish

.github/workflows/fmt.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
cargo-fmt-check:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222
- uses: dtolnay/rust-toolchain@stable
2323
with:
2424
components: rustfmt
@@ -29,7 +29,7 @@ jobs:
2929
runs-on: ubuntu-latest
3030

3131
steps:
32-
- uses: actions/checkout@v3
32+
- uses: actions/checkout@v4
3333
- run: |
3434
npm i -g --force corepack
3535
corepack enable

.github/workflows/publish-binaries.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@ jobs:
4040
- host: windows-latest
4141
target: i686-pc-windows-msvc
4242
ext: .exe
43-
- host: ubuntu-latest
43+
- host: ubuntu-22.04
4444
target: x86_64-unknown-linux-gnu
4545
- host: ubuntu-latest
4646
target: x86_64-unknown-linux-musl
47-
- host: ubuntu-latest
47+
- host: ubuntu-22.04
4848
target: aarch64-unknown-linux-gnu
4949
setup: |
5050
sudo apt-get update
5151
sudo apt-get install gcc-aarch64-linux-gnu -y
52-
- host: ubuntu-latest
52+
- host: ubuntu-22.04
5353
target: armv7-unknown-linux-gnueabihf
5454
setup: |
5555
sudo apt-get update
@@ -64,7 +64,7 @@ jobs:
6464
name: ${{ matrix.settings.target }}
6565
runs-on: ${{ matrix.settings.host }}
6666
steps:
67-
- uses: actions/checkout@v3
67+
- uses: actions/checkout@v4
6868

6969
- uses: dtolnay/rust-toolchain@stable
7070
with:
@@ -95,7 +95,7 @@ jobs:
9595
- build
9696
runs-on: ubuntu-latest
9797
steps:
98-
- uses: actions/checkout@v3
98+
- uses: actions/checkout@v4
9999

100100
- name: download all artifacts
101101
uses: actions/download-artifact@v4

.github/workflows/publish-napi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ jobs:
197197
run:
198198
working-directory: node
199199
steps:
200-
- uses: actions/checkout@v3
200+
- uses: actions/checkout@v4
201201
- run: |
202202
npm i -g --force corepack
203203
corepack enable

0 commit comments

Comments
 (0)