|
9 | 9 | build: |
10 | 10 | strategy: |
11 | 11 | matrix: |
12 | | - os: [windows-latest,ubuntu-22.04] |
| 12 | + os: [windows-latest,ubuntu-latest] |
13 | 13 |
|
14 | 14 | runs-on: ${{ matrix.os }} |
15 | 15 |
|
|
20 | 20 | uses: actions/checkout@v3 |
21 | 21 |
|
22 | 22 | - 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' |
24 | 24 | - run: echo "VERSION=$(jq -r '.package.version' vue/src-tauri/tauri.conf.json)" >> $env:GITHUB_ENV |
25 | 25 | if: matrix.os == 'windows-latest' |
26 | 26 |
|
|
49 | 49 | vue/dist=vue/dist |
50 | 50 | |
51 | 51 | - 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' |
53 | 53 | - run: cp out/iib_api_server.exe out/iib_app_cli-${{ env.VERSION }}-${{ runner.os }}.exe |
54 | 54 | if: matrix.os == 'windows-latest' |
55 | 55 |
|
|
73 | 73 | if: matrix.os == 'windows-latest' |
74 | 74 |
|
75 | 75 | - 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' |
77 | 77 |
|
78 | 78 | - name: Install frontend dependencies |
79 | 79 | run: yarn install |
|
93 | 93 | workspaces: './vue/src-tauri -> target' |
94 | 94 |
|
95 | 95 | - name: Install dependencies (ubuntu only) |
96 | | - if: matrix.os == 'ubuntu-22.04' |
| 96 | + if: matrix.os == 'ubuntu-latest' |
97 | 97 | run: | |
98 | 98 | sudo apt-get update |
99 | 99 | sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf |
@@ -166,7 +166,7 @@ jobs: |
166 | 166 | workspaces: './vue/src-tauri -> target' |
167 | 167 |
|
168 | 168 | - name: Install dependencies (ubuntu only) |
169 | | - if: matrix.os == 'ubuntu-22.04' |
| 169 | + if: matrix.os == 'ubuntu-latest' |
170 | 170 | run: | |
171 | 171 | sudo apt-get update |
172 | 172 | sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf |
|
0 commit comments