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