浏览代码

Use correct cmdlet

Armin Schrenk 2 年之前
父节点
当前提交
169039903d
共有 4 个文件被更改,包括 4 次插入4 次删除
  1. 1 1
      .github/workflows/appimage.yml
  2. 1 1
      .github/workflows/debian.yml
  3. 1 1
      .github/workflows/mac-dmg.yml
  4. 1 1
      .github/workflows/win-exe.yml

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

@@ -37,7 +37,7 @@ jobs:
           $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) {
-            Out-Error "Major part of JavaFX version in pom($($jfxPomVersion[0])) does not match the version in JDK(${jfxJdkVersion}) "
+            Write-Error "Major part of JavaFX version in pom($($jfxPomVersion[0])) does not match the version in JDK(${jfxJdkVersion}) "
             exit 1
           }
       - name: Set version

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

@@ -68,7 +68,7 @@ jobs:
           $jfxJmodVersionAmd64 = (Get-Content -Path "jmods/aarch64/javafx.properties" | Where-Object {$_ -like 'javafx.version=*' }) -replace '.*=',''
           $jfxJmodVersionAarch64 = (Get-Content -Path "jmods/aarch64/javafx.properties" | Where-Object {$_ -like 'javafx.version=*' }) -replace '.*=',''
           if ($jfxJmodVersionAmd64 -ne $jfxJmodVersionAarch64 ) {
-            Out-Error "JavaFX Jmods for aarch64 and amd64 are different major versions"
+            Write-Error "JavaFX Jmods for aarch64 and amd64 are different major versions"
             exit 1
           }
           if ($jfxPomVersion[0] -ne $jfxJmodVersionAmd64) {

+ 1 - 1
.github/workflows/mac-dmg.yml

@@ -50,7 +50,7 @@ jobs:
           $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) {
-            Out-Error "Major part of JavaFX version in pom($($jfxPomVersion[0])) does not match the version in JDK(${jfxJdkVersion}) "
+            Write-Error "Major part of JavaFX version in pom($($jfxPomVersion[0])) does not match the version in JDK(${jfxJdkVersion}) "
             exit 1
           }
       - name: Set version

+ 1 - 1
.github/workflows/win-exe.yml

@@ -45,7 +45,7 @@ jobs:
           $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) {
-            Out-Error "Major part of JavaFX version in pom($($jfxPomVersion[0])) does not match the version in JDK(${jfxJdkVersion}) "
+            Write-Error "Major part of JavaFX version in pom($($jfxPomVersion[0])) does not match the version in JDK(${jfxJdkVersion}) "
             exit 1
           }
       - name: Set version