mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-05-28 03:10:28 -04:00
fix: Replace ubuntu-latest to ubuntu 22.04 (#119)
This commit is contained in:
parent
f2f453ccc8
commit
b6f36d61ae
6
.github/workflows/build_cmake.yml
vendored
6
.github/workflows/build_cmake.yml
vendored
@ -258,20 +258,20 @@ jobs:
|
|||||||
|
|
||||||
# The json is the same for all platforms, but we need to save one
|
# The json is the same for all platforms, but we need to save one
|
||||||
- name: Upload plugin json
|
- name: Upload plugin json
|
||||||
if: matrix.config.os == 'ubuntu-latest'
|
if: startsWith(matrix.config.os, 'ubuntu')
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ env.PLUGIN_NAME }}-origin-json
|
name: ${{ env.PLUGIN_NAME }}-origin-json
|
||||||
path: ./build/build/${{ env.PLUGIN_NAME }}.json
|
path: ./build/build/${{ env.PLUGIN_NAME }}.json
|
||||||
|
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
if: matrix.config.os == 'ubuntu-latest'
|
if: startsWith(matrix.config.os, 'ubuntu')
|
||||||
run: |
|
run: |
|
||||||
xvfb-run ./build/build/test/QodeAssistTest
|
xvfb-run ./build/build/test/QodeAssistTest
|
||||||
|
|
||||||
update_json:
|
update_json:
|
||||||
if: contains(github.ref, 'tags/v')
|
if: contains(github.ref, 'tags/v')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
needs: build
|
needs: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
Reference in New Issue
Block a user