Explorar el Código

Update format of firmware tag in GitHub workflow output

Changed the formatting of firmware tag output in the GitHub Actions workflow file. This style adjustment makes the output more consistent and improves readability in logs. The setup now uses a string format expression for better handling the variable insertion into a string.
DerSkythe hace 2 años
padre
commit
da1a29ee1f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      .github/workflows/build-with-firmware.yml

+ 1 - 1
.github/workflows/build-with-firmware.yml

@@ -123,7 +123,7 @@ jobs:
           
           Write-Output "::notice title=${{ matrix.firmware }} RELEASE_VERSION::$releaseVersion"
           Write-Output "::notice title=${{ matrix.firmware }} SHA::$sha"
-          Write-Output "::notice title=${{ matrix.firmware }} FW_VERSION::$fwInfo.tagName"
+          Write-Output ('::notice title=${{ matrix.firmware }} FW_VERSION::{0}' -f $fwInfo.tagName)
           Write-Output "::notice title=${{ matrix.firmware }} PREV_TAG::$latestTag"
           
           Write-Output ('RELEASE_VERSION={0}' -f $releaseVersion) >> $env:GITHUB_ENV