ci: 调整 actions
This commit is contained in:
parent
81a7f7e19a
commit
5183a9f919
|
@ -10,7 +10,7 @@ jobs:
|
|||
name: 为 PR 添加标签
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions-ecosystem/action-add-labels@v1
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUBTOKEN }}
|
||||
|
|
|
@ -13,7 +13,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
name: Build Docker Image and Push without X-Pack Submodules
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: false
|
||||
token: ${{ secrets.ACCESS_TOKEN }}
|
||||
|
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
name: Build Docker Image and Push
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true
|
||||
token: ${{ secrets.ACCESS_TOKEN }}
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
on: push
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- v3.*
|
||||
pull_request:
|
||||
branches:
|
||||
- v3.*
|
||||
|
||||
name: MeterSphere 覆盖率统计
|
||||
|
||||
|
@ -7,9 +13,10 @@ permissions:
|
|||
|
||||
jobs:
|
||||
generic_handler:
|
||||
name: 覆盖率统计
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue