File tree Expand file tree Collapse file tree 3 files changed +69
-11
lines changed Expand file tree Collapse file tree 3 files changed +69
-11
lines changed Original file line number Diff line number Diff line change
1
+ # Create nightly release for Linux, Mac and Windows using the Linux runner.
2
+ name : Nightly Release
3
+
4
+ on :
5
+ push :
6
+ branches : [ master ]
7
+
8
+ jobs :
9
+ nightly :
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+
15
+ - name : Set up JDK 20
16
+ uses : actions/setup-java@v3
17
+ with :
18
+ java-version : ' 20'
19
+ distribution : ' liberica'
20
+ java-package : ' jdk+fx'
21
+
22
+ - name : Build Linux and Mac releases with Gradle
23
+ uses : gradle/gradle-build-action@v2
24
+ with :
25
+ arguments : runtimeZipOthers -PprojectVersion=nightly
26
+
27
+ - name : Build Windows release with Gradle
28
+ uses : gradle/gradle-build-action@v2
29
+ with :
30
+ arguments : runtimeZipWindows -PprojectVersion=nightly
31
+
32
+ - name : Add build artifacts to nightly release
33
+ uses : pyTooling/Actions/releaser@main
34
+ with :
35
+ tag : nightly
36
+ rm : false
37
+ token : ${{ secrets.GITHUB_TOKEN }}
38
+ files : build/image/*.zip
Original file line number Diff line number Diff line change @@ -53,17 +53,8 @@ repositories {
53
53
maven { url " https://jitpack.io" }
54
54
}
55
55
56
- /**
57
- * Version naming conventions:
58
- * Alpha: maj.min.patch-alpha-build
59
- * Beta: maj.min.patch-beta-build
60
- * Release: maj.min.patch
61
- *
62
- * Note: this is so that the file names for the resultant release build products match the GitLab release asset
63
- * tag name, specifically the dashes inserted before and after the alpha/beta labels.
64
- * See: https://github.com/DSheirer/sdrtrunk/issues/1651
65
- */
66
- version = ' 0.6.0-beta-4'
56
+ // Version is defined in gradle.properties so that we can CLI override it for nightly builds.
57
+ version = project. findProperty(' projectVersion' )
67
58
68
59
// Java 20 is required for this version of the Project Panama preview/incubator feature
69
60
java {
Original file line number Diff line number Diff line change
1
+ #
2
+ # ******************************************************************************
3
+ # Copyright (C) 2014-2023 Dennis Sheirer
4
+ #
5
+ # This program is free software: you can redistribute it and/or modify
6
+ # it under the terms of the GNU General Public License as published by
7
+ # the Free Software Foundation, either version 3 of the License, or
8
+ # (at your option) any later version.
9
+ #
10
+ # This program is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ # GNU General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU General Public License
16
+ # along with this program. If not, see <http://www.gnu.org/licenses/>
17
+ # *****************************************************************************
18
+ #
19
+
20
+ # Version naming conventions:
21
+ # Alpha: maj.min.patch-alpha-build
22
+ # Beta: maj.min.patch-beta-build
23
+ # Release: maj.min.patch
24
+ #
25
+ # Note: this is so that the file names for the resultant release build products match the GitLab release asset
26
+ # tag name, specifically the dashes inserted before and after the alpha/beta labels.
27
+ # See: https://github.com/DSheirer/sdrtrunk/issues/1651
28
+
29
+ projectVersion =0.6.0-beta-4
You can’t perform that action at this time.
0 commit comments