Skip to content

Commit b6f36d6

Browse files
authored
fix: Replace ubuntu-latest to ubuntu 22.04 (#119)
1 parent f2f453c commit b6f36d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build_cmake.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -258,20 +258,20 @@ jobs:
258258

259259
# The json is the same for all platforms, but we need to save one
260260
- name: Upload plugin json
261-
if: matrix.config.os == 'ubuntu-latest'
261+
if: startsWith(matrix.config.os, 'ubuntu')
262262
uses: actions/upload-artifact@v4
263263
with:
264264
name: ${{ env.PLUGIN_NAME }}-origin-json
265265
path: ./build/build/${{ env.PLUGIN_NAME }}.json
266266

267267
- name: Run unit tests
268-
if: matrix.config.os == 'ubuntu-latest'
268+
if: startsWith(matrix.config.os, 'ubuntu')
269269
run: |
270270
xvfb-run ./build/build/test/QodeAssistTest
271271
272272
update_json:
273273
if: contains(github.ref, 'tags/v')
274-
runs-on: ubuntu-latest
274+
runs-on: ubuntu-22.04
275275
needs: build
276276

277277
steps:

0 commit comments

Comments
 (0)