Explorar o 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 %!s(int64=2) %!d(string=hai) anos
pai
achega
da1a29ee1f
Modificáronse 1 ficheiros con 1 adicións e 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