Create build.yml
This commit is contained in:
parent
df60600073
commit
6bce18a04d
1 changed files with 27 additions and 0 deletions
27
.github/workflows/build.yml
vendored
Normal file
27
.github/workflows/build.yml
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: Build
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6.0.1
|
||||
|
||||
- name: Setup Java enviroment
|
||||
uses: actions/setup-java@v5.1.0
|
||||
with:
|
||||
distribution: termurin
|
||||
java-version: 21
|
||||
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions@v5.0.0
|
||||
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew buildAll
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v6.0.0
|
||||
with:
|
||||
path: build/libs/*.jar
|
||||
Loading…
Add table
Add a link
Reference in a new issue