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 添加标签 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 }}

View File

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

View File

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

View File

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