Skip to content

Commit f83383f

Browse files
authored
Update dotnet-desktop.yml
1 parent 0cbcf55 commit f83383f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/dotnet-desktop.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ jobs:
156156
body: "This PR updates all dependency versions from Ocaramba.csproj and latest Ocaramba tag."
157157
branch: auto/sync-ocaramba-versions
158158
- name: "Upload vsix artifact to Release"
159-
160-
run: gh release upload ${{ env.templateVersion }} ./Ocaramba.Templates.VSIX/bin/Release/Ocaramba.Templates.vsix
159+
if: success() && startsWith(github.ref, 'refs/tags/')
161160
env:
162161
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
163-
if: (success() && startsWith(github.ref, 'refs/tags/'))
162+
run: gh release upload ${{ env.templateVersion }} ./Ocaramba.Templates.VSIX/bin/Release/Ocaramba.Templates.vsix
163+

0 commit comments

Comments
 (0)