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
869 B
32 lines
869 B
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 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/[email protected]
|
|
id: create_release
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
allowUpdates: true
|
|
replaceArtifacts: false
|
|
body: Fully automated release
|
|
artifacts: "./build/distributions/openrndr-application-linux-x64.zip"
|