Skip to content

refactor: decouple methods and add debug logging #543

refactor: decouple methods and add debug logging

refactor: decouple methods and add debug logging #543

Workflow file for this run

name: Build CI
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
# The following concurrency group cancels in-progress jobs or runs on pull_request events only;
# if github.head_ref is undefined, the concurrency group will fallback to the run ID,
# which is guaranteed to be both unique and defined for the run.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java-version:
- 8
- 11
- 17
- 21
steps:
- name: Checkout repository
uses: actions/checkout@v4.1.7
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4.3.0
with:
distribution: "temurin"
java-version: "${{ matrix.java-version }}"
cache: "gradle"
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4.0.0
- name: Build with Gradle
run: ./gradlew build
- name: Upload Build Artifacts
uses: actions/upload-artifact@v4.3.6
with:
name: assembled-plugin-jdk_${{ matrix.java-version }}
path: build/