This commit is contained in:
parent
62dcb75960
commit
2e62b69a21
@ -1,16 +1,13 @@
|
|||||||
name: Build fabric mod
|
on: [push, pull_request]
|
||||||
|
|
||||||
on:
|
name: Build fabric mod
|
||||||
push:
|
|
||||||
branches: [ '*' ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ '*' ]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up JDK 21
|
- name: Set up JDK 21
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
@ -22,14 +19,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
gradle-version: '8.12.1'
|
gradle-version: '8.12.1'
|
||||||
|
|
||||||
- name: Make gradlew executable
|
|
||||||
run: chmod +x ./gradlew
|
|
||||||
|
|
||||||
- name: Build with Gradle Wrapper
|
- name: Build with Gradle Wrapper
|
||||||
run: ./gradlew build
|
run: chmod +x ./gradlew; ./gradlew build
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: build
|
|
||||||
path: build/libs/*
|
path: build/libs/*
|
Loading…
x
Reference in New Issue
Block a user