Skip to content

Commit

Permalink
ci: use ubuntu-22.04 (#8776)
Browse files Browse the repository at this point in the history
  • Loading branch information
h-a-n-a authored Dec 19, 2024
1 parent 0e749f0 commit 22f3bb0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
with:
target: x86_64-unknown-linux-gnu
profile: "debug"
native: ${{ needs.get-runner-labels.outputs.LINUX_RUNNER_LABELS == '"ubuntu-latest"' }}
native: ${{ needs.get-runner-labels.outputs.LINUX_RUNNER_LABELS == '"ubuntu-22.04"' }}
runner: ${{ needs.get-runner-labels.outputs.LINUX_RUNNER_LABELS }}
skipable: ${{ needs.check-changed.outputs.changed != 'true' }}

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/get-runner-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ jobs:
WINDOWS_RUNNER_LABELS='${{ vars.WINDOWS_RUNNER_LABELS }}';
fi
# set default value
# use ubuntu 22.04 to be compatible with playwright docker
if [[ -z "$LINUX_RUNNER_LABELS" ]]; then
LINUX_RUNNER_LABELS='"ubuntu-latest"';
LINUX_RUNNER_LABELS='"ubuntu-22.04"';
fi
if [[ -z "$MACOS_RUNNER_LABELS" ]]; then
MACOS_RUNNER_LABELS='"macos-latest"';
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,8 @@ jobs:
- name: Run e2e
uses: ./.github/actions/docker-run
with:
# Jammy uses ubuntu 22.04
# If this is to change, make sure to upgrade the ubuntu version in GitHub Actions
image: mcr.microsoft.com/playwright:v1.47.0-jammy
# .cache is required by download artifact, and mount in ./.github/actions/docker-run
# .tool_cache is required by pnpm
Expand Down

0 comments on commit 22f3bb0

Please sign in to comment.