Skip to content

Commit c248817

Browse files
authored
ci: update to ubuntu-latest (#395)
* ci: update to ubuntu-latest * change file [skip ci]
1 parent a565d13 commit c248817

10 files changed

Lines changed: 31 additions & 46 deletions

.changes/standalon-binaries.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"create-tauri-app": "patch"
3+
"create-tauri-app-js": "patch"
4+
---
5+
6+
Fix publishing standalone binaries to github releases.
7+

.github/workflows/audit.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,18 @@ jobs:
3131
audit-rust:
3232
runs-on: ubuntu-latest
3333
steps:
34-
- uses: actions/checkout@v2
34+
- uses: actions/checkout@v3
3535
- uses: dtolnay/rust-toolchain@stable
3636
- run: cargo install cargo-audit
3737
- run: cargo audit
3838

3939
audit-js:
4040
runs-on: ubuntu-latest
4141
steps:
42-
- uses: actions/checkout@v2
43-
- uses: pnpm/action-setup@v2.2.2
42+
- uses: actions/checkout@v3
43+
- uses: pnpm/action-setup@v2.2.4
4444
with:
45-
version: 7
45+
version: 8
4646
- name: Setup node
4747
uses: actions/setup-node@v3
4848
with:

.github/workflows/change-status-on-PR.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@v2
13+
- uses: actions/checkout@v3
1414
with:
1515
fetch-depth: 0
1616
- name: covector status

.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.59, stable]
3636

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

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121
successfulPublish: ${{ steps.covector.outputs.successfulPublish }}
2222

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

28-
- uses: pnpm/action-setup@v2.2.2
28+
- uses: pnpm/action-setup@v2.2.4
2929
with:
30-
version: 7
30+
version: 8
3131
- name: Setup node
3232
uses: actions/setup-node@v3
3333
with:

.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@v2
21+
- uses: actions/checkout@v3
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
@@ -30,9 +30,9 @@ jobs:
3030

3131
steps:
3232
- uses: actions/checkout@v3
33-
- uses: pnpm/action-setup@v2.2.2
33+
- uses: pnpm/action-setup@v2.2.4
3434
with:
35-
version: 7
35+
version: 8
3636

3737
- name: Setup node
3838
uses: actions/setup-node@v3

.github/workflows/publish-binaries.yml

Lines changed: 4 additions & 4 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-18.04
43+
- host: ubuntu-latest
4444
target: x86_64-unknown-linux-gnu
45-
- host: ubuntu-18.04
45+
- host: ubuntu-latest
4646
target: x86_64-unknown-linux-musl
47-
- host: ubuntu-18.04
47+
- host: ubuntu-latest
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-18.04
52+
- host: ubuntu-latest
5353
target: armv7-unknown-linux-gnueabihf
5454
setup: |
5555
sudo apt-get update

.github/workflows/publish-napi.yml

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ jobs:
102102
runs-on: ${{ matrix.settings.host }}
103103
steps:
104104
- uses: actions/checkout@v3
105-
- uses: pnpm/action-setup@v2.2.2
105+
- uses: pnpm/action-setup@v2.2.4
106106
with:
107-
version: 7
107+
version: 8
108108

109109
- name: Setup node
110110
uses: actions/setup-node@v3
@@ -125,17 +125,6 @@ jobs:
125125
with:
126126
key: ${{ matrix.settings.target }}
127127

128-
- name: Get pnpm store directory
129-
id: pnpm-cache
130-
run: |
131-
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
132-
133-
- name: Cache pnpm dependencies
134-
uses: actions/cache@v3
135-
with:
136-
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
137-
key: pnpm-cache-build-${{ matrix.settings.target }}-node@16
138-
139128
- name: Setup toolchain
140129
run: ${{ matrix.settings.setup }}
141130
if: ${{ matrix.settings.setup }}
@@ -174,9 +163,9 @@ jobs:
174163
- build
175164
steps:
176165
- uses: actions/checkout@v3
177-
- uses: pnpm/action-setup@v2.2.2
166+
- uses: pnpm/action-setup@v2.2.4
178167
with:
179-
version: 7
168+
version: 8
180169
- name: Setup node
181170
uses: actions/setup-node@v3
182171
with:
@@ -185,17 +174,6 @@ jobs:
185174
cache: pnpm
186175
cache-dependency-path: '**/pnpm-lock.yaml'
187176

188-
- name: Get pnpm store directory
189-
id: pnpm-cache
190-
run: |
191-
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
192-
193-
- name: Cache pnpm dependencies
194-
uses: actions/cache@v3
195-
with:
196-
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
197-
key: pnpm-cache-build-${{ matrix.settings.target }}-node@16
198-
199177
- name: Install dependencies
200178
run: pnpm install -w --filter .
201179

.github/workflows/templates-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
matrix: ${{ steps.set-matrix.outputs.matrix }}
2727

2828
steps:
29-
- uses: actions/checkout@v2
29+
- uses: actions/checkout@v3
3030
- uses: dtolnay/rust-toolchain@stable
3131
- run: cargo build --release --package create-tauri-app
3232

@@ -46,7 +46,7 @@ jobs:
4646
matrix: ${{ steps.set-matrix.outputs.matrix }}
4747

4848
steps:
49-
- uses: actions/checkout@v2
49+
- uses: actions/checkout@v3
5050

5151
- name: Get changed files
5252
id: changed-files
@@ -72,10 +72,10 @@ jobs:
7272

7373
name: ${{ matrix.settings.manager }} - ${{ matrix.settings.template }}
7474
steps:
75-
- uses: pnpm/action-setup@v2.2.2
75+
- uses: pnpm/action-setup@v2.2.4
7676
if: matrix.settings.manager == 'pnpm'
7777
with:
78-
version: 7
78+
version: 8
7979

8080
- name: Install Node.js@16
8181
if: matrix.settings.manager != 'cargo'

0 commit comments

Comments
 (0)