This commit is contained in:
parent
dc7e69aa8b
commit
d9714b50bf
1 changed files with 22 additions and 0 deletions
22
.github/workflows/build.yml
vendored
Normal file
22
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
name: Build and upload mods
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
packwizInstall:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: openjdk:21-jdk-alpine
|
||||
steps:
|
||||
- name: Install Node
|
||||
run: apk add nodejs git
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
- name: Run Gradle jar
|
||||
run: ./gradlew jar
|
||||
- name: Upload mod artifact
|
||||
if: success()
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: mods
|
||||
path: build/libs/*.jar
|
Loading…
Reference in a new issue