Skip to content

[Version]: 0.13 Extended & Gems Overhaul #954

[Version]: 0.13 Extended & Gems Overhaul

[Version]: 0.13 Extended & Gems Overhaul #954

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Gametest (Fabric compat)
on:
push:
branches: [ 1.* ]
pull_request:
branches: [ 1.* ]
jobs:
skip_duplicate_jobs:
name: Skip duplicate jobs
continue-on-error: true
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5
with:
paths_ignore: '["**/README.md", "**/docs/**", "**/.gitignore", "**/LICENSE"]'
concurrent_skipping: same_content_newer
gametest_fabric_compat:
runs-on: ubuntu-latest
needs: skip_duplicate_jobs
if: needs.skip_duplicate_jobs.outputs.should_skip != 'true'
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Git
run: |
git --version
git config user.name "GitHub Actions Bot"
git config user.email "<>"
git status
git describe --tags
shell: bash
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Run gametest (Fabric compat)
run: ./gradlew fabric:forgero-fabric-compat:runGameTest