Quellcode durchsuchen

shoulda used quotes

Armin Schrenk vor 2 Jahren
Ursprung
Commit
497ddcfc9c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      .github/workflows/appimage.yml

+ 1 - 1
.github/workflows/appimage.yml

@@ -34,7 +34,7 @@ jobs:
       - name: Ensure major jfx version in pom equals in jdk
         shell: pwsh
         run: |
-          $jfxPomVersion = (&mvn help:evaluate -Dexpression=javafx.version -q -DforceStdout) -split "\."
+          $jfxPomVersion = (&mvn help:evaluate "-Dexpression=javafx.version" -q -DforceStdout) -split "\."
           $jfxJdkVersion = (Get-Content -path "${env:JAVA_HOME}/lib/javafx.properties" | Where-Object {$_ -like 'javafx.version=*' }) -replace '.*=',''
           if ($jfxPomVersion[0] -ne $jfxJdkVersion) {
             Write-Error "Major part of JavaFX version in pom($($jfxPomVersion[0])) does not match the version in JDK(${jfxJdkVersion}) "