ci: 调整 actions

This commit is contained in:
CaptainB 2023-05-04 17:53:09 +08:00 committed by 刘瑞斌
parent 81a7f7e19a
commit 5183a9f919
4 changed files with 12 additions and 5 deletions

View File

@ -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 }}

View File

@ -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 }}

View File

@ -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 }}

View File

@ -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: