committed by
Edwin Jakobs
3 changed files with 29 additions and 70 deletions
@ -1,33 +0,0 @@ |
|||||
name: Publish Linux/x64 binaries |
|
||||
|
|
||||
on: |
|
||||
push: |
|
||||
tags: |
|
||||
- v1.* |
|
||||
- v1.*.* |
|
||||
|
|
||||
permissions: |
|
||||
contents: write |
|
||||
|
|
||||
jobs: |
|
||||
build: |
|
||||
runs-on: ubuntu-latest |
|
||||
steps: |
|
||||
- uses: actions/checkout@v2 |
|
||||
- name: Set up JDK 17 |
|
||||
uses: actions/setup-java@v1 |
|
||||
with: |
|
||||
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/release-action@v1.12.0 |
|
||||
id: create_release |
|
||||
with: |
|
||||
token: ${{ secrets.GITHUB_TOKEN }} |
|
||||
allowUpdates: true |
|
||||
replacesArtifacts: false |
|
||||
body: Fully automated release |
|
||||
artifacts: "./build/distributions/openrndr-application-linux-x64.zip" |
|
@ -1,33 +0,0 @@ |
|||||
name: Publish Windows binaries |
|
||||
|
|
||||
on: |
|
||||
push: |
|
||||
tags: |
|
||||
- v1.* |
|
||||
- v1.*.* |
|
||||
|
|
||||
permissions: |
|
||||
contents: write |
|
||||
|
|
||||
jobs: |
|
||||
build: |
|
||||
runs-on: windows-latest |
|
||||
steps: |
|
||||
- uses: actions/checkout@v2 |
|
||||
- name: Set up JDK 17 |
|
||||
uses: actions/setup-java@v1 |
|
||||
with: |
|
||||
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/release-action@v1.12.0 |
|
||||
id: create_release |
|
||||
with: |
|
||||
token: ${{ secrets.GITHUB_TOKEN }} |
|
||||
allowUpdates: true |
|
||||
replacesArtifacts: false |
|
||||
body: Fully automated release |
|
||||
artifacts: "./build/distributions/openrndr-application-windows.zip" |
|
Loading…
Reference in new issue