Skip to content

Commit 15fae74

Browse files
authored
Add GitHub Actions workflow for building installers
1 parent c501c70 commit 15fae74

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

‎.github/workflows/build.yaml‎

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Build Native Installers
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
name: Build on ${{ matrix.os }}
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
# This runs two builds in parallel
16+
os: [macos-latest, ubuntu-latest]
17+
18+
steps:
19+
- name: Checkout Code
20+
uses: actions/checkout@v4
21+
22+
- name: Set up JDK 25
23+
uses: actions/setup-java@v4
24+
with:
25+
java-version: '25'
26+
distribution: 'oracle'
27+
cache: 'ant'
28+
29+
- name: Install Ant
30+
if: runner.os == 'Linux'
31+
run: sudo apt-get update && sudo apt-get install -y ant fakeroot dpkg-dev
32+
33+
- name: Run Ant Package
34+
run: ant package
35+
36+
- name: Upload Artifacts
37+
uses: actions/upload-artifact@v4
38+
with:
39+
name: ${{ matrix.os }}-installer
40+
path: dist/*
41+

0 commit comments

Comments
 (0)