Skip to content

Commit b5098e4

Browse files
Update build-test-deploy.yml
1 parent 89887de commit b5098e4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Build, Test, and Deploy
33
on:
44
push:
55
branches: [ main ]
6-
tags:
7-
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
6+
release:
7+
types: [created]
88
pull_request:
99
branches: [ main ]
1010

@@ -30,6 +30,7 @@ jobs:
3030
run: dotnet restore
3131
- name: Set Version
3232
run: |
33+
echo "${{ github.ref }}"
3334
if ("${{ github.ref }}".startsWith("refs/tags/v")) {
3435
$tagVersion = "${{ github.ref }}".substring(11)
3536
echo "buildVersion=$tagVersion.${{ github.run_number }}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append

0 commit comments

Comments
 (0)