Skip to content

bump smoke test Fabric API version #385

bump smoke test Fabric API version

bump smoke test Fabric API version #385

Workflow file for this run

name: build
on: [ push ]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Install Packages
run: sudo apt-get install -y advancecomp
# cache local gradle files, global ones will be taken care of by the setup-gradle action
- uses: actions/cache@v4
with:
path: |
**/.gradle/
**/build/
key: ${{ runner.os }}-gradlelocal-${{ github.ref }}
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
- name: :build
run: ./gradlew build --stacktrace --no-daemon -PwithAuditAndExit=true
- name: Upload artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: zume
path: |
**/build/libs/zume*.jar
build/libs/*mappings.txt
- name: :smokeTest
id: smokeTest
uses: coactions/setup-xvfb@v1
with:
run: ./gradlew :smokeTest --no-daemon -PwithAuditAndExit=true
- name: Upload test results
if: failure()
uses: actions/upload-artifact@v4
with:
name: smokeTest
path: |
build/smoke_test/**/logs/**
build/smoke_test/**/setup.log