Skip to content

v3.2.0 新增方法;自动重置开始时间戳 #11

v3.2.0 新增方法;自动重置开始时间戳

v3.2.0 新增方法;自动重置开始时间戳 #11

Workflow file for this run

name: Java CI
on:
push:
branches: [ "master" ]
paths-ignore:
- '**.md'
pull_request:
branches: [ "master" ]
paths-ignore:
- '**.md'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn clean install -P jacoco
- name: Analyze with SonarCloud
env:
ORGANIZATION: ali1416
PROJECT_KEY: ALI1416_id
SONAR_TOKEN: ${{secrets.SONAR_TOKEN}}
run: mvn sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=$ORGANIZATION -Dsonar.projectKey=$PROJECT_KEY -Dsonar.login=$SONAR_TOKEN