Add jpackageZip and Github actions for publishing binaries
This commit is contained in:
2
.github/workflows/build-on-commit.yaml
vendored
2
.github/workflows/build-on-commit.yaml
vendored
@@ -11,5 +11,5 @@ jobs:
|
||||
- uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 14
|
||||
- name: Build apidocs
|
||||
- name: Build sources
|
||||
run: ./gradlew build
|
||||
30
.github/workflows/publish-binaries-linux-x64.yaml
vendored
Normal file
30
.github/workflows/publish-binaries-linux-x64.yaml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Publish Linux/x64 binaries
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- v0.*
|
||||
- v0.*.*
|
||||
- v1.*
|
||||
- v1.*.*
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 14
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 14
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew jpackageZip
|
||||
- name: Create Release
|
||||
uses: ncipollo/release-action@v1.6.1
|
||||
id: create_release
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
allowUpdates: true
|
||||
replaceArtifacts: false
|
||||
body: Fully automated release
|
||||
artifacts: "./build/distributions/openrndr-application-linux-x64.zip"
|
||||
30
.github/workflows/publish-binaries-macos.yaml
vendored
Normal file
30
.github/workflows/publish-binaries-macos.yaml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Publish macOS binaries
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- v0.*
|
||||
- v0.*.*
|
||||
- v1.*
|
||||
- v1.*.*
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 14
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 14
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew jpackageZip
|
||||
- name: Create Release
|
||||
uses: ncipollo/release-action@v1.6.1
|
||||
id: create_release
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
allowUpdates: true
|
||||
replaceArtifacts: false
|
||||
body: Fully automated release
|
||||
artifacts: "./build/distributions/openrndr-application-macos.zip"
|
||||
30
.github/workflows/publish-binaries-windows.yaml
vendored
Normal file
30
.github/workflows/publish-binaries-windows.yaml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Publish Windows binaries
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- v0.*
|
||||
- v0.*.*
|
||||
- v1.*
|
||||
- v1.*.*
|
||||
-
|
||||
jobs:
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 14
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 14
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew jpackageZip
|
||||
- name: Create Release
|
||||
uses: ncipollo/release-action@v1.6.1
|
||||
id: create_release
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
allowUpdates: true
|
||||
replaceArtifacts: false
|
||||
body: Fully automated release
|
||||
artifacts: "./build/distributions/openrndr-application-windows.zip"
|
||||
Reference in New Issue
Block a user