Skip to content

Commit f383463

Browse files
Update build-test-deploy.yml
1 parent 7f0ff7d commit f383463

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-test-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ jobs:
6868
- name: Push NuGet
6969
run: |
7070
$tagVersion = "${{ github.ref }}".substring(11)
71-
echo "buildVersion=$tagVersion.${{ github.run_number }}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
71+
echo "tagVersion=$tagVersion" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
7272
dotnet nuget push IntelliTect.TestTools.Console.$tagVersion.nupkg --source https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }} --skip-duplicate
7373
- name: Upload nupkg to Releases
7474
uses: softprops/action-gh-release@v1
7575
with:
7676
fail_on_unmatched_files: true
7777
generate_release_notes: true
78-
files: IntelliTect.TestTools.Console.${{ env.buildVersion }}.nupkg
78+
files: IntelliTect.TestTools.Console.${{ env.tagVersion }}.nupkg

0 commit comments

Comments
 (0)