Skip to content

Commit

Permalink
ci(xxl-job): 更新 GitHub Actions 工作流配置
Browse files Browse the repository at this point in the history
  • Loading branch information
xuxueli committed Jan 11, 2025
1 parent ed28f5b commit 9caf449
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
name: Java CI

on: [push]

push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run: mvn -B package --file pom.xml
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml

0 comments on commit 9caf449

Please sign in to comment.