Skip to content

Commit

Permalink
Add triggering pipeline on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
SKProCH committed Jun 17, 2024
1 parent 6de6326 commit 3c2f813
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ on:
- master
- main
- release/**
tags:
- master
- main
- release/**

jobs:
build-and-test:
uses: SKProCH/CommonWorkflows/.github/workflows/build-publish.yml@main
secrets:
NUGET_KEY: ${{ secrets.NUGET_KEY }}
with:
publish-nightly: false
publish-nightly: ${{ github.ref_type != 'tag' && (github.ref == 'master' || github.ref == 'main') }}
dotnet-version: 8

0 comments on commit 3c2f813

Please sign in to comment.