Skip to content

改进了 validate_user 函数的实现 #238

改进了 validate_user 函数的实现

改进了 validate_user 函数的实现 #238

Workflow file for this run

name: Build and Test project
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 8
- name: Cache local Maven repository
uses: actions/[email protected]
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
${{ runner.os }}-maven-
- name: Build and Test
run: mvn -B verify
- name: Archive build artifacts
uses: actions/upload-artifact@v3
with:
name: build artifacts
path: target/jenkins-pipeline-cache.hpi