Skip to content

添加 Actions 脚本以进行 CI #5

添加 Actions 脚本以进行 CI

添加 Actions 脚本以进行 CI #5

Workflow file for this run

name: Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Setup Gradle 8.6
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: 8.6
- name: Build with Gradle 8.6
run: gradle build