Skip to content

Commit

Permalink
1.20.4 port (#22)
Browse files Browse the repository at this point in the history
Co-authored-by: rlnt <[email protected]>
  • Loading branch information
shartte and rlnt authored Mar 18, 2024
1 parent 01555b2 commit 7a79dc4
Show file tree
Hide file tree
Showing 70 changed files with 1,769 additions and 1,628 deletions.
321 changes: 0 additions & 321 deletions .editorconfig

This file was deleted.

63 changes: 18 additions & 45 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,56 +4,29 @@ on:
workflow_dispatch:
push:
branches:
- '1.20.1-forge'
- "1.20.4"
tags-ignore:
- '**'
- "**"
paths:
- 'gradle/**'
- '**.java'
- '**.kts'
- '**.properties'
- '**/build.yml'
- "gradle/**"
- "**.java"
- "**.kts"
- "**.properties"
- "**/build.yml"
pull_request:
branches:
- '1.20.1-forge'
- "1.20.4"
paths:
- 'gradle/**'
- '**.java'
- '**.kts'
- '**.properties'
- '**/build.yml'
- "gradle/**"
- "**.java"
- "**.kts"
- "**.properties"
- "**/build.yml"

env:
JAVA_DIST: 'zulu'
JAVA_VERSION: 17
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: Build
runs-on: ubuntu-latest
if: |
!contains(github.event.head_commit.message, '[skip build]')
steps:
- name: Clone Repository
uses: actions/checkout@v3

- name: Set up JDK ${{ env.JAVA_VERSION }}
uses: actions/setup-java@v3
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: ${{ env.JAVA_DIST }}
cache: gradle

- name: Cleanup Gradle Cache
run: |
rm -f ~/.gradle/caches/modules-2/modules-2.lock
rm -f ~/.gradle/caches/modules-2/gc.properties
- name: Make Gradle executable
run: chmod +x ./gradlew

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1

- name: Build
run: ./gradlew build --stacktrace
redirect:
uses: AlmostReliable/.github/.github/workflows/build-java17.yml@main
Loading

0 comments on commit 7a79dc4

Please sign in to comment.