mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-03-04 06:44:40 +01:00

- Fix upload task not uploading the reobf'd jar - Fix debug info not translating the graphics mode text - Fix crash with factory gauges - Mark getQueuedPromises as @Nullable
36 lines
958 B
YAML
36 lines
958 B
YAML
name: Build
|
|
|
|
on: [ workflow_dispatch, push, pull_request ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Java
|
|
run: echo "JAVA_HOME=$JAVA_HOME_17_X64" >> "$GITHUB_ENV"
|
|
|
|
- name: NeoGradle Cache
|
|
uses: actions/cache@v4
|
|
with:
|
|
path: "**/.gradle/repositories/"
|
|
key: "${{ runner.os }}-gradle-${{ hashFiles('**/libs.versions.*', '**/*.gradle*', '**/gradle-wrapper.properties') }}"
|
|
restore-keys: "${{ runner.os }}-gradle-"
|
|
|
|
- name: Setup Gradle
|
|
uses: gradle/actions/setup-gradle@v4
|
|
with:
|
|
gradle-home-cache-cleanup: true
|
|
|
|
- name: Validate Gradle Wrapper Integrity
|
|
uses: gradle/wrapper-validation-action@v2
|
|
|
|
- name: Build
|
|
run: ./gradlew build
|
|
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: Artifacts
|
|
path: build/libs/
|