fix: Replace ubuntu-latest to ubuntu 22.04 (#119)

This commit is contained in:
Petr Mironychev 2025-03-10 01:33:03 +01:00 committed by GitHub
parent f2f453ccc8
commit b6f36d61ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -258,20 +258,20 @@ jobs:
# The json is the same for all platforms, but we need to save one
- name: Upload plugin json
if: matrix.config.os == 'ubuntu-latest'
if: startsWith(matrix.config.os, 'ubuntu')
uses: actions/upload-artifact@v4
with:
name: ${{ env.PLUGIN_NAME }}-origin-json
path: ./build/build/${{ env.PLUGIN_NAME }}.json
- name: Run unit tests
if: matrix.config.os == 'ubuntu-latest'
if: startsWith(matrix.config.os, 'ubuntu')
run: |
xvfb-run ./build/build/test/QodeAssistTest
update_json:
if: contains(github.ref, 'tags/v')
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: build
steps: