瀏覽代碼

shoulda used quotes

Armin Schrenk 2 年之前
父節點
當前提交
497ddcfc9c
共有 1 個文件被更改,包括 1 次插入1 次删除
  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}) "