Skip to content

Forcibly process messages, despite processing being disabled #97

Forcibly process messages, despite processing being disabled

Forcibly process messages, despite processing being disabled #97

Workflow file for this run

name: CI Build
on: [ push, pull_request ]
permissions: read-all
jobs:
validate:
name: "Validate gradle wrapper"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
build:
name: "Build using Gradle"
needs: validate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
check-latest: true
- name: Cache ForgeGradle and Librarian caches
uses: actions/cache@v3
with:
path: |
~/.gradle/caches/forge_gradle/**
!~/.gradle/caches/forge_gradle/assets
~/.gradle/caches/parchmentgradle
key: ${{ runner.os }}-gradle-mc-caches-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', '**/*versions.toml') }}
restore-keys: |
${{ runner.os }}-gradle-mc-caches-
- uses: burrunan/gradle-cache-action@v1
with:
arguments: build
# Read-only cache if not on repo's default branch: https://stackoverflow.com/a/68414395
read-only: ${{ format('refs/heads/{0}', github.event.repository.default_branch) != github.ref }}
gradle-dependencies-cache-key: |
gradle/libs.versions.toml
gradle-distribution-sha-256-sum-warning: false
- uses: actions/upload-artifact@v3
with:
name: Build artifacts
path: build/libs/*.jar