ForgeWrapper/.github/workflows/build.yml
2021-12-11 14:35:56 +08:00

27 lines
536 B
YAML

name: Gradle Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: '8.0.312'
architecture: x64
- name: Build with Gradle
run: |
chmod +x ./gradlew
./gradlew build -iS
- uses: actions/upload-artifact@v2
with:
name: Package
path: build/libs