mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-02 20:36:44 +00:00
only build headless when specifically requested
This commit is contained in:
parent
7d796369d6
commit
f501f08e17
3 changed files with 3 additions and 3 deletions
2
.github/workflows/package.yaml
vendored
2
.github/workflows/package.yaml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
|||
if: ${{ runner.os == 'Linux' }}
|
||||
run: ./gradlew packageTarDistribution
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Sparrow Build - ${{ runner.os }}
|
||||
path: |
|
||||
|
|
|
@ -19,7 +19,7 @@ if(System.getProperty("os.arch") == "aarch64") {
|
|||
osArch = "aarch64"
|
||||
targetName = "-" + osArch
|
||||
}
|
||||
def headless = "true".equals(System.getProperty("java.awt.headless")) || GraphicsEnvironment.isHeadless()
|
||||
def headless = "true".equals(System.getProperty("java.awt.headless"))
|
||||
|
||||
group "com.sparrowwallet"
|
||||
version "${sparrowVersion}"
|
||||
|
|
|
@ -66,7 +66,7 @@ public enum JavaFXPlatform {
|
|||
|
||||
String osClassifier = project.getExtensions().getByType(OsDetector.class).getClassifier();
|
||||
|
||||
if("true".equals(System.getProperty("java.awt.headless")) || GraphicsEnvironment.isHeadless()) {
|
||||
if("true".equals(System.getProperty("java.awt.headless"))) {
|
||||
osClassifier += "-monocle";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue