You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
856 B
32 lines
856 B
5 years ago
|
name: Publish macOS binaries
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
tags:
|
||
|
- v0.*
|
||
|
- v0.*.*
|
||
|
- v1.*
|
||
|
- v1.*.*
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: macos-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
2 years ago
|
- name: Set up JDK 17
|
||
5 years ago
|
uses: actions/setup-java@v1
|
||
|
with:
|
||
2 years ago
|
java-version: 17
|
||
5 years ago
|
- name: Build with Gradle
|
||
|
run: ./gradlew jpackageZip
|
||
2 years ago
|
- name: Rename jpackage zip
|
||
|
run: mv ./build/distributions/openrndr-application.zip ./build/distributions/openrndr-application-macos.zip
|
||
5 years ago
|
- name: Create Release
|
||
2 years ago
|
uses: ncipollo/[email protected]
|
||
5 years ago
|
id: create_release
|
||
|
with:
|
||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||
|
allowUpdates: true
|
||
|
replaceArtifacts: false
|
||
|
body: Fully automated release
|
||
|
artifacts: "./build/distributions/openrndr-application-macos.zip"
|