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

fix: Correct notice titles in build workflow

The GitHub Actions workflow for 'build-with-firmware' has been updated, correcting the notice titles used with Write-Output commands. Extraneous parentheses in the title strings have been removed to ensure accurate and clean output during the workflow execution.
DerSkythe пре 2 година
родитељ
комит
86a2646380
1 измењених фајлова са 6 додато и 6 уклоњено
  1. 6 6
      .github/workflows/build-with-firmwware.yml

+ 6 - 6
.github/workflows/build-with-firmwware.yml

@@ -95,7 +95,7 @@ jobs:
           GITHUB_TOKEN: ${{ secrets.FLIPPER_TOKEN }}
           INPUT_VERSION: ${{ inputs.version }}
         run: |
-          Write-Output "::notice title=${{ matrix.firmware }}) Input Version Number::v${{ inputs.version }}"
+          Write-Output "::notice title=${{ matrix.firmware }} Input Version Number::v${{ inputs.version }}"
           $fwInfo = ((gh release view --json tagName,url -R ${{ matrix.url }}) | ConvertFrom-Json)
           cd '${{ env.APP_PATH }}'
           $sha = (git rev-parse --verify HEAD)
@@ -104,7 +104,7 @@ jobs:
           $latestTag = ((gh release view --json tagName,url -R ${{ vars.REPO_SELF }}) | ConvertFrom-Json ).tagName
 
           if ( [string]::IsNullOrWhitespace($env:INPUT_VERSION) ) {            
-            Write-Output "::notice title=${{ matrix.firmware }}) Latest tag::$latestTag"
+            Write-Output "::notice title=${{ matrix.firmware }} Latest tag::$latestTag"
             
             $lastIndex = $latestTag.LastIndexOf('.')
             
@@ -121,10 +121,10 @@ jobs:
             $releaseVersion = $releaseVersion.Substring(1)
           }
           
-          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 }}) PREV_TAG::$latestTag"
+          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 }} PREV_TAG::$latestTag"
           
           Write-Output ('RELEASE_VERSION={0}' -f $releaseVersion) >> $env:GITHUB_ENV
           Write-Output ('SHA={0}' -f $sha) >> $env:GITHUB_ENV