Browse Source

Fix location of data inside macos app bundle, update workflows

master
Edwin Jakobs 2 years ago
parent
commit
1d51a766e1
  1. 4
      .github/workflows/build-on-commit.yaml
  2. 8
      .github/workflows/publish-binaries-linux-x64.yaml
  3. 8
      .github/workflows/publish-binaries-macos.yaml
  4. 8
      .github/workflows/publish-binaries-windows.yaml
  5. 2
      build.gradle.kts

4
.github/workflows/build-on-commit.yaml

@ -5,11 +5,11 @@ on:
- master
jobs:
build:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 14
java-version: 17
- name: Build sources
run: ./gradlew build

8
.github/workflows/publish-binaries-linux-x64.yaml

@ -13,14 +13,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 14
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 14
java-version: 17
- name: Build with Gradle
run: ./gradlew jpackageZip
- name: Rename jpackage zip
run: mv ./build/distributions/openrndr-application.zip ./build/distributions/openrndr-application-linux-x64.zip
- name: Create Release
uses: ncipollo/[email protected]
uses: ncipollo/release-action@v1.12.0
id: create_release
with:
token: ${{ secrets.GITHUB_TOKEN }}

8
.github/workflows/publish-binaries-macos.yaml

@ -13,14 +13,16 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 14
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 14
java-version: 17
- name: Build with Gradle
run: ./gradlew jpackageZip
- name: Rename jpackage zip
run: mv ./build/distributions/openrndr-application.zip ./build/distributions/openrndr-application-macos.zip
- name: Create Release
uses: ncipollo/[email protected]
uses: ncipollo/release-action@v1.12.0
id: create_release
with:
token: ${{ secrets.GITHUB_TOKEN }}

8
.github/workflows/publish-binaries-windows.yaml

@ -13,14 +13,16 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 14
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 14
java-version: 17
- name: Build with Gradle
run: ./gradlew jpackageZip
- name: Rename jpackage zip
run: mv ./build/distributions/openrndr-application.zip ./build/distributions/openrndr-application-windows.zip
- name: Create Release
uses: ncipollo/[email protected]
uses: ncipollo/release-action@v1.12.0
id: create_release
with:
token: ${{ secrets.GITHUB_TOKEN }}

2
build.gradle.kts

@ -177,7 +177,7 @@ tasks {
from("data") {
include("**/*")
}
into("build/jpackage/openrndr-application.app/data")
into("build/jpackage/openrndr-application.app/Content/Resources/data")
}
}
}

Loading…
Cancel
Save