Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PieroCastillo authored May 29, 2021
1 parent 2dca8f9 commit 057a99b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Publish to NuGet
if: github.event_name == 'push'
run: |
if ( "${{github.ref}}" -match "^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+$" ) {
if ( "${{github.ref}}" -match "^refs/tags/v[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$" ) {
dotnet nuget push build\packages\**\*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.AURA_UI_KEY}}
} else {
echo "publish is only enabled by tagging with a release tag"
Expand Down

0 comments on commit 057a99b

Please sign in to comment.