From 9d34ab47c23857dd28b2ef6d663f10f3c4cd0fc3 Mon Sep 17 00:00:00 2001 From: Jakub Raczek Date: Tue, 3 Dec 2024 10:08:35 +0100 Subject: [PATCH] Update github-actions.yml --- .github/workflows/github-actions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 46cafb5e..ed05414d 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -32,7 +32,7 @@ jobs: run: | $tags = git tag --sort=-creatordate $tag = $tags[0] - Write-Host "##vso[task.setvariable variable=frameworkVersion]$tag" + echo "{frameworkVersion}={value}" >> "$tag" if: startsWith(github.ref, 'refs/tags/') - shell: powershell run: '(Get-Content ''Ocaramba.sln'' -raw) -replace [regex](''.*?'' + ''Documentation'' + (''.*?\r\n'' * (5 + 1))) | set-content ''Ocaramba.sln''' @@ -361,7 +361,7 @@ jobs: run: | $tags = git tag --sort=-creatordate $tag = $tags[0] - Write-Host "##vso[task.setvariable variable=frameworkVersion]$tag" + echo "{frameworkVersion}={value}" >> "$tag" if: startsWith(github.ref, 'refs/tags/') - uses: actions/download-artifact@v4 with: