Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1706 Github action to create nightly application releases.
- Loading branch information
Dennis Sheirer
committed
Nov 6, 2023
1 parent
511101e
commit 1e1a230
Showing
3 changed files
with
73 additions
and
11 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | ||
|
||
name: Java CI with Gradle | ||
|
||
on: | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
nightly: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
runs-on: ${{ matrix.os }} | ||
|
||
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 with Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
arguments: clean runtimeZipCurrent | ||
|
||
- name: Add build artifact to nightly release | ||
uses: pyTooling/Actions/releaser@main | ||
with: | ||
tag: nightly | ||
rm: false | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
files: build/image/*.zip |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# | ||
# ****************************************************************************** | ||
# Copyright (C) 2014-2023 Dennis Sheirer | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/> | ||
# ***************************************************************************** | ||
# | ||
|
||
# Version naming conventions: | ||
# Alpha: maj.min.patch-alpha-build | ||
# Beta: maj.min.patch-beta-build | ||
# Release: maj.min.patch | ||
# | ||
# Note: this is so that the file names for the resultant release build products match the GitLab release asset | ||
# tag name, specifically the dashes inserted before and after the alpha/beta labels. | ||
# See: https://github.com/DSheirer/sdrtrunk/issues/1651 | ||
|
||
projectVersion=0.6.0-beta-4 |