mirror of
https://github.com/YouHaveTrouble/NotJustNameplates.git
synced 2026-05-11 22:16:57 +00:00
build and upload artifact on commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
name: Build
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: gradle/wrapper-validation-action@v1
|
||||
- uses: actions/setup-java@v3.6.0
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 21
|
||||
- name: Build with Gradle
|
||||
run: gradle clean build
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: artifact
|
||||
path: 'build/libs/NotJustNameplates-*.jar'
|
||||
Reference in New Issue
Block a user