Merge pull request #1707 from DSheirer/1706-nightly-release #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create nightly release for Linux, Mac and Windows using the Linux runner. | |
name: Nightly Release | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
nightly: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 20 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '20' | |
distribution: 'liberica' | |
java-package: 'jdk+fx' | |
- name: Build Linux and Mac releases with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: runtimeZipOthers -PprojectVersion=nightly | |
- name: Build Windows release with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: runtimeZipWindows -PprojectVersion=nightly | |
- name: Add build artifacts to nightly release | |
uses: pyTooling/Actions/releaser@main | |
with: | |
tag: nightly | |
rm: false | |
token: ${{ secrets.GITHUB_TOKEN }} | |
files: build/image/*.zip |