Skip to content

Remove preventClose; add methods for menu actions #5

Remove preventClose; add methods for menu actions

Remove preventClose; add methods for menu actions #5

Workflow file for this run

name: Build and Push Packages
on:
push:
branches:
- 'main'
jobs:
build-and-push:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- arch: amd64
qemu_arch: x86_64
tag_suffix: ''
latest_tag: latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build native image with Gradle
run: ./gradlew build
- name: Publish package
uses: gradle/gradle-build-action@v2
# Only run on amd64
if: matrix.arch == 'amd64'
with:
arguments: publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}