Skip to content

Bump JavaFX plugin #230

Bump JavaFX plugin

Bump JavaFX plugin #230

Workflow file for this run

name: Attach Build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: Build
runs-on: macos-11
strategy:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 5
- name: Setup Java
uses: oracle-actions/setup-java@v1
with:
website: jdk.java.net
release: 17.0.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build project
run: |
export ANDROID_SDK=$ANDROID_HOME
./gradlew -i nativeBuild
- name: Deploy Snapshot
if: github.ref == 'refs/heads/master'
run: |
export ANDROID_SDK=$ANDROID_HOME
./gradlew publish -PsonatypeUsername=$SONATYPE_USERNAME -PsonatypePassword=$SONATYPE_PASSWORD
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}