Build Workflow -- main #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Workflow | |
run-name: 'Build Workflow -- ${{ github.head_ref || github.ref_name }}' | |
# Pipeline/Workflow Triggers | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
pr-verification: | |
name: Pull Request Validation | |
runs-on: ubuntu-24.04 | |
if: github.event_name == 'pull_request' | |
steps: | |
- name: Pull Request Version Validation | |
uses: ikmdev/[email protected] | |
build-job: | |
name: Build Job | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'zulu' | |
- name: Build IKMDEV Code | |
uses: ikmdev/[email protected] | |
with: | |
branch_name: ${{github.ref_name}} | |