Skip to content

build

build #88

Workflow file for this run

name: build
on: [ pull_request, push ]
jobs:
build:
strategy:
matrix:
java: [ 17 ]
os: [ ubuntu-24.04 ]
runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, 'skip ci') && !contains(github.event.head_commit.message, 'ci skip')"
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Validate gradle wrapper
uses: gradle/actions/wrapper-validation@v3
- name: Setup java ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: temurin
cache: gradle
- name: Build
run: ./gradlew build
- name: capture fabric build artifacts
uses: actions/upload-artifact@v4
with:
name: StackDeobfuscator-Fabric-Artifacts
path: build/libs/StackDeobfuscatorFabric-*
if-no-files-found: error
- name: capture web build artifacts
uses: actions/upload-artifact@v4
with:
name: StackDeobfuscator-Web-Artifacts
path: build/libs/StackDeobfuscatorWeb-*
if-no-files-found: error