From 7ac7eb5ceabdc2c1e095b877853640f5b0e607aa Mon Sep 17 00:00:00 2001 From: Artur Kharin Date: Fri, 7 Feb 2025 17:11:13 +0200 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 74acb50..1739d47 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,9 +19,6 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - - name: Set version to env variable - run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF#refs/*/}) # Install the .NET Core workload - name: Install .NET Core @@ -39,7 +36,7 @@ jobs: - name: Update version in code uses: actions/github-script@v7.0.1 with: - Script: src/updateVersion.ps1 $RELEASE_VERSION + Script: src/updateVersion.ps1 ${GITHUB_REF#refs/*/} # Execute all unit tests in the solution - name: Execute unit tests