Skip to content

Build Workflow -- main #127

Build Workflow -- main

Build Workflow -- main #127

Workflow file for this run

name: Build Workflow
run-name: 'Build Workflow -- ${{ github.head_ref || github.ref_name }}'
on:
push:
pull_request:
workflow_dispatch:
env:
BRANCH_NAME: ${{github.ref_name}}
jobs:
build-job:
name: Build Job
runs-on: ubuntu-24.04
if: github.repository_owner == 'ikmdev'
steps:
- uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'zulu'
- name: Build IKMDEV Code
uses: ikmdev/maven-clean-install-build-action@main
with:
branch_name: ${{env.BRANCH_NAME}}
sonarcloud_token: ${{ secrets.SONAR_TOKEN }}
sonarcloud_host_url: ${{ 'https://sonarcloud.io/' }}
sonarcloud_organization: ${{ github.repository_owner }}
sonarcloud_sources: ${{ '' }}
sonarcloud_projectKey: ${{ github.repository_owner }}_${{ github.event.repository.name }}
sonarcloud_coverage_jacoco_xmlReportPaths: ${{ 'target/site/jacoco/jacoco.xml' }}
sonarcloud_java_binaries: ${{ 'target/classes' }}
sonarcloud_tests: ${{ '' }}