-
Notifications
You must be signed in to change notification settings - Fork 106
50 lines (39 loc) · 1.41 KB
/
check-package.yml
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
44
45
46
47
48
49
50
name: Check making image
on:
push:
branches:
- develop
- feature/check-package
jobs:
build:
strategy:
fail-fast: true
matrix:
os: [windows-latest, ubuntu-latest, macOS-latest]
include:
- os: windows-latest
displayName: Windows
prefix: win
app-image: bsl-language-server
- os: ubuntu-latest
displayName: Linux
prefix: nix
app-image: bsl-language-server
- os: macOS-latest
displayName: MacOS
prefix: mac
app-image: bsl-language-server.app
runs-on: ${{ matrix.os }}
name: (${{ matrix.displayName }}) create image app version
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 20
distribution: 'temurin'
- name: Build bootJar with Gradle
run: ./gradlew check build
- name: Build jpackage application image
run: python .github/scripts/build-jpackage.py ${{ matrix.prefix }} ${{ matrix.app-image }}