summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMister_X <MisterX2000@users.noreply.github.com>2025-04-05 14:40:35 +0200
committerMister_X <MisterX2000@users.noreply.github.com>2025-04-05 14:40:35 +0200
commitae173a8f24f267fb5e2dae96350ac782d5577663 (patch)
treec700071fbce9dd4497749c0de641ada439dc5a83 /.github/workflows
parent8c9a3308541e2ab4797e0b7b7bcfbdfef7327e12 (diff)
test ant build action
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ant-build-release.yaml51
1 files changed, 51 insertions, 0 deletions
diff --git a/.github/workflows/ant-build-release.yaml b/.github/workflows/ant-build-release.yaml
new file mode 100644
index 000000000..13ed771b8
--- /dev/null
+++ b/.github/workflows/ant-build-release.yaml
@@ -0,0 +1,51 @@
+name: Build Executable
+
+on:
+ push:
+ branches: # ONLY FOR TESTING
+ - "**"
+ tags:
+ - "v*.*.*"
+ - "Release_*"
+ pull_request:
+ workflow_dispatch:
+
+permissions:
+ contents: write
+ actions: write
+
+jobs:
+ build:
+ strategy:
+ matrix:
+ os: [macos-latest, ubuntu-latest, windows-latest]
+
+ runs-on: ${{ matrix.os }}
+
+ steps:
+ - name: Check-out repository
+ uses: actions/checkout@v4
+
+ - name: Setup Java
+ uses: actions/setup-java@v3
+ with:
+ distribution: 'temurin'
+ java-version: '21'
+ cache: 'maven'
+
+ - name: Build
+ run: ant clean all dist
+
+ - name: Upload Artifacts
+ uses: actions/upload-artifact@v4
+ with:
+ name: ${{ runner.os }} ${{ runner.arch }} Build
+ path: dist/*
+
+ - name: Create GitHub Release
+ uses: softprops/action-gh-release@v2
+ if: startsWith(github.ref, 'refs/tags/')
+ with:
+ draft: true
+ generate_release_notes: true
+ files: dist/*