Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

添加自动构建*4 #5

添加自动构建*4

添加自动构建*4 #5

Workflow file for this run

name: "Dev Build"
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'zulu'
- name: Setup Gradle
uses: gradle/[email protected]
- name: Grant execute permission for Gradle wrapper
run: chmod +x ./gradlew
- name: Execute Gradle build
run: ./gradlew shadowJar
- uses: actions/upload-artifact@v4
with:
name: Package JAR
path: build/libs