#1856 DMR traffic channel thread dead-lock. Removing synchronized me… #6
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 ] | |
# Don't run nightly build for pull requests - uncomment to test changes to this action within scope of the PR review | |
# pull_request: | |
# branches: [ master ] | |
jobs: | |
nightly: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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: Create Build Info file | |
run: | | |
echo -e "ref: $GITHUB_REF \ncommit: $GITHUB_SHA\nbuild: $(date +"%Y-%m-%dT%H:%M:%SZ")" > build/image/build_info.txt | |
- 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 | |
build/image/build_info.txt |