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 - master
jobs: jobs:
build: build:
runs-on: ubuntu-18.04 runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-java@v1 - uses: actions/setup-java@v1
with: with:
java-version: 14 java-version: 17
- name: Build sources - name: Build sources
run: ./gradlew build run: ./gradlew build

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

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

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

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

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

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

2
build.gradle.kts

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

Loading…
Cancel
Save