Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Muska-Ami authored Oct 14, 2023
1 parent b4e231c commit a32a42c
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: b-main Gradle - Build

on:
push:
branches: [ main ]

env:
TZ: Asia/Shanghai

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout Source
uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'zulu'

- name: Build with Gradle
run: ./gradlew build

- name: Upload Build Target
uses: actions/[email protected]
with:
name: "CatSero-Artifact"
path: build/

- name: Upload Build Jar
uses: actions/[email protected]
with:
name: "CatSero-Jar"
path: build/libs/*.jar

0 comments on commit a32a42c

Please sign in to comment.