forked from ikmdev/tinkar-core
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (29 loc) · 885 Bytes
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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}}