Skip to content

Merge pull request #168 from takahirom/tm/add-junie-guidelines/2025-0… #547

Merge pull request #168 from takahirom/tm/add-junie-guidelines/2025-0…

Merge pull request #168 from takahirom/tm/add-junie-guidelines/2025-0… #547

Workflow file for this run

name: publish-ui
on:
push:
branches:
- main
tags:
- '**'
pull_request:
permissions:
contents: write
env:
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx6g -Dorg.gradle.daemon=false -Dkotlin.incremental=false"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Setup JBR 17
uses: gmitch215/setup-java@main
with:
distribution: 'jetbrains'
java-version: 17
cache: 'gradle'
package-type: 'jdk+jcef'
# For GitHub API (use if you believe you'd run into rate limits)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Gradle cache
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2
- name: build
id: build
run: |
./gradlew arbigent-ui:packageReleaseDistributionForCurrentOS --stacktrace
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
if: ${{ always() }}
with:
name: ${{ matrix.os }}-artifact
path: |
**/build/compose/**/*.dmg
**/build/compose/**/*.msi
**/build/compose/**/*.deb
retention-days: 120
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
**/build/compose/**/*.dmg
**/build/compose/**/*.msi
**/build/compose/**/*.deb