Skip to content

Commit

Permalink
fix: try to fix pipeline output for deploy job
Browse files Browse the repository at this point in the history
  • Loading branch information
Rokimajo authored Nov 13, 2024
1 parent 07d5d81 commit 4a42dca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ jobs:
shell: pwsh
run: |
$currentPatch = 1 + [int]${{ env.VALUE }}
echo "currentPatch=$currentPatch" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
echo "currentPatch=$currentPatch" >> $ENV:GITHUB_OUTPUT
if ("${{ github.ref_name }}" -eq "main") {
$nugetVersion = "2.2.0.$currentPatch"
} else {
$nugetVersion = "2.2.0.$currentPatch-beta"
}
echo "nugetVersion=$nugetVersion" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
echo "nugetVersion=$nugetVersion" >> $ENV:GITHUB_OUTPUT
- name: Replace project version
shell: pwsh
Expand Down

0 comments on commit 4a42dca

Please sign in to comment.