Преглед изворни кода

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 година
родитељ
комит
da1a29ee1f
1 измењених фајлова са 1 додато и 1 уклоњено
  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