Skip to content

Commit

Permalink
ci: using ubuntu-20.04 by default (#1504)
Browse files Browse the repository at this point in the history
  • Loading branch information
tao12345666333 authored Dec 13, 2022
1 parent 03cfcb8 commit b4255f1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/e2e-test-ci-v2-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ concurrency:
jobs:
changes:
if: ${{ (!github.event.pull_request.draft && contains(github.event.pull_request.labels.*.name, 'area/test/apiv2')) || github.event.schedule == '0 0 * * *' }}
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
outputs:
docs: ${{ steps.filter.outputs.docs }}
go: ${{ steps.filter.outputs.go }}
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
- ".github/**"
build:
name: Build
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: changes
if: needs.changes.outputs.go == 'true'

Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
prepare:
needs: changes
if: needs.changes.outputs.go == 'true'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -149,7 +149,7 @@ jobs:
- changes
- prepare
- build
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: false # If false, GitHub will not cancels all in-progress jobs in the matrix if any matrix job fails.
matrix:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/e2e-test-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ concurrency:

jobs:
changes:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
outputs:
docs: ${{ steps.filter.outputs.docs }}
go: ${{ steps.filter.outputs.go }}
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
- ".github/**"
build:
name: Build
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: changes
if: needs.changes.outputs.go == 'true'

Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
prepare:
needs: changes
if: needs.changes.outputs.go == 'true'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -148,7 +148,7 @@ jobs:
- changes
- prepare
- build
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: false # If false, GitHub will not cancels all in-progress jobs in the matrix if any matrix job fails.
matrix:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/k8s-timer-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:

jobs:
changes:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
outputs:
docs: ${{ steps.filter.outputs.docs }}
go: ${{ steps.filter.outputs.go }}
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
- 'utils/**'
build:
name: Build
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: changes

steps:
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
prepare:
needs: changes
if: needs.changes.outputs.go == 'true'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -129,7 +129,7 @@ jobs:
- changes
- prepare
- build
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: false # If false, GitHub will not cancels all in-progress jobs in the matrix if any matrix job fails.
matrix:
Expand Down

0 comments on commit b4255f1

Please sign in to comment.