-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (37 loc) · 1.14 KB
/
build-jar-matrix-entry.yml
File metadata and controls
43 lines (37 loc) · 1.14 KB
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
38
39
40
41
42
43
name: Build - JAR Matrix Entry
on:
workflow_call:
inputs:
module:
description: "Module path/name (used for artifact name and jar path)"
required: true
type: string
kotlin-version:
description: "Override Kotlin version?"
required: false
default: ""
type: string
testballoon-version:
description: "Override TestBalloon version (full version string)?"
required: false
default: ""
type: string
jobs:
build:
name: "Build JAR (ubuntu-latest) - ${{ inputs.module }}"
runs-on: ubuntu-latest
timeout-minutes: 120
env:
KOTLIN_VERSION_ENV: ${{ inputs.kotlin-version }}
TESTBALLOON_VERSION_OVERRIDE: ${{ inputs.testballoon-version }}
steps:
- name: Common setup
uses: a-sit-plus/internal-workflows/.github/actions/common-setup@v2
- name: Build jar
run: ./gradlew assemble
- name: Upload jar ${{ inputs.module }}
uses: actions/upload-artifact@v6
with:
name: ${{ inputs.module }}
path: ${{ inputs.module }}/build/libs/*.jar
if-no-files-found: error