Skip to content

Commit

Permalink
Switch back to Ubuntu 22.04 to fix main branch
Browse files Browse the repository at this point in the history
latest version has been updated to 24.04 and is failing

Signed-off-by: Aurélien Pupier <[email protected]>
  • Loading branch information
apupier committed Jan 15, 2025
1 parent 62c8be8 commit ce52c4d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-22.04, macos-latest, windows-latest]

env:
CODE_VERSION: max
Expand All @@ -36,30 +36,30 @@ jobs:
run: yarn vsce package --no-dependencies --yarn
- name: Run Unit tests on Linux
run: xvfb-run -a yarn test:unit
if: ${{ matrix.os == 'ubuntu-latest' }}
if: ${{ matrix.os == 'ubuntu-22.04' }}
- name: Run Unit tests on Other OSes than Linux
run: yarn test:unit
if: ${{ matrix.os != 'ubuntu-latest' }}
if: ${{ matrix.os != 'ubuntu-22.04' }}
- name: Run UI Tests on Linux
run: xvfb-run -a yarn run test:it:with-prebuilt-vsix
if: ${{ matrix.os == 'ubuntu-latest' }}
if: ${{ matrix.os == 'ubuntu-22.04' }}
- name: Run UI Tests on Other OSes than Linux
run: yarn run test:it:with-prebuilt-vsix
if: ${{ matrix.os != 'ubuntu-latest' }}
if: ${{ matrix.os != 'ubuntu-22.04' }}
- name: Generate SBOM
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-22.04'
run: |
npm install -g @cyclonedx/cdxgen
cdxgen -o manifest.json
- name: Store SBOM
uses: actions/upload-artifact@v4
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-22.04'
with:
name: sbom
path: manifest.json
- name: Archive vsix
uses: actions/upload-artifact@v4
if: ${{ matrix.os == 'ubuntu-latest' }}
if: ${{ matrix.os == 'ubuntu-22.04' }}
with:
name: 'vscode-kaoto-vsix'
path: '*.vsix'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-kaoto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-22.04]

env:
CODE_VERSION: max
Expand Down

0 comments on commit ce52c4d

Please sign in to comment.