Skip to content

Commit

Permalink
ci: 固定构建环境到ubuntu-22.04
Browse files Browse the repository at this point in the history
项目更新不频繁,ubuntu-latest总在更新。
目前项目用的Android SDK 33就在新版本中删掉了。
  • Loading branch information
shifujun committed Dec 24, 2024
1 parent dc5bafb commit 20585c6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/check-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
check-commit-message:
name: 提交日志格式化检查
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -20,7 +20,7 @@ jobs:
configFile: ./.commitlintrc.yml
check-code-format:
name: 代码格式化检查
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
AndroidStudioVersion: 2021.1.1.20
steps:
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
build-sdk:
needs: [ check-commit-message, check-code-format ]
name: 构建SDK
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
Expand All @@ -61,7 +61,7 @@ jobs:
build-sample-maven:
needs: [ check-commit-message, check-code-format ]
name: 构建maven依赖SDK的sample
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
Expand All @@ -86,7 +86,7 @@ jobs:
build-all:
needs: build-sdk
name: 构建所有源码
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
Expand All @@ -99,7 +99,7 @@ jobs:
test-agp-compatibility:
needs: build-sdk
name: AGP兼容性自动化测试
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
Expand All @@ -126,7 +126,7 @@ jobs:
test-sdk-jvm:
needs: build-sdk
name: 自动化测试-JVM部分
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v4
Expand All @@ -139,7 +139,7 @@ jobs:
test-sdk-avd:
needs: build-sdk
name: 自动化测试-AVD部分
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
include:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
publish:
needs: check-build-test
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
DISABLE_TENCENT_MAVEN_MIRROR: true
PUBLISH_RELEASE: true
Expand Down

0 comments on commit 20585c6

Please sign in to comment.