Skip to content

Commit fdcb77e

Browse files
committed
fix build
1 parent cd8a386 commit fdcb77e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/tauri_app_build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
build:
1010
strategy:
1111
matrix:
12-
os: [windows-latest,ubuntu-22.04]
12+
os: [windows-latest,ubuntu-latest]
1313

1414
runs-on: ${{ matrix.os }}
1515

@@ -20,7 +20,7 @@ jobs:
2020
uses: actions/checkout@v3
2121

2222
- run: echo "VERSION=$(jq -r '.package.version' vue/src-tauri/tauri.conf.json)" >> "$GITHUB_ENV"
23-
if: matrix.os == 'ubuntu-22.04'
23+
if: matrix.os == 'ubuntu-latest'
2424
- run: echo "VERSION=$(jq -r '.package.version' vue/src-tauri/tauri.conf.json)" >> $env:GITHUB_ENV
2525
if: matrix.os == 'windows-latest'
2626

@@ -49,7 +49,7 @@ jobs:
4949
vue/dist=vue/dist
5050
5151
- run: cp out/iib_api_server out/iib_app_cli-${{ env.VERSION }}-${{ runner.os }}
52-
if: matrix.os == 'ubuntu-22.04'
52+
if: matrix.os == 'ubuntu-latest'
5353
- run: cp out/iib_api_server.exe out/iib_app_cli-${{ env.VERSION }}-${{ runner.os }}.exe
5454
if: matrix.os == 'windows-latest'
5555

@@ -73,7 +73,7 @@ jobs:
7373
if: matrix.os == 'windows-latest'
7474

7575
- run: mv out/iib_api_server vue/src-tauri/iib_api_server-x86_64-unknown-linux-gnu
76-
if: matrix.os == 'ubuntu-22.04'
76+
if: matrix.os == 'ubuntu-latest'
7777

7878
- name: Install frontend dependencies
7979
run: yarn install
@@ -93,7 +93,7 @@ jobs:
9393
workspaces: './vue/src-tauri -> target'
9494

9595
- name: Install dependencies (ubuntu only)
96-
if: matrix.os == 'ubuntu-22.04'
96+
if: matrix.os == 'ubuntu-latest'
9797
run: |
9898
sudo apt-get update
9999
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf
@@ -166,7 +166,7 @@ jobs:
166166
workspaces: './vue/src-tauri -> target'
167167

168168
- name: Install dependencies (ubuntu only)
169-
if: matrix.os == 'ubuntu-22.04'
169+
if: matrix.os == 'ubuntu-latest'
170170
run: |
171171
sudo apt-get update
172172
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf

0 commit comments

Comments
 (0)