mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2025-01-23 21:51:26 +01:00
27 lines
680 B
YAML
27 lines
680 B
YAML
name: Build
|
|
on: [pull_request, push, workflow_dispatch]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
persist-credentials: false
|
|
- name: Set up Gradle
|
|
uses: gradle/actions/setup-gradle@v4
|
|
- name: Set up JDK 21
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: 21
|
|
check-latest: true
|
|
- name: Build with Gradle
|
|
run: ./gradlew build
|
|
- name: Upload Artifacts to GitHub
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: Artifacts
|
|
path: build/libs/
|