Jelajahi Sumber

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 2 tahun lalu
induk
melakukan
da1a29ee1f
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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