Skip to content

Commit a828861

Browse files
committed
Add check for -ci tags
1 parent dcabeea commit a828861

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ jobs:
6161
--nologo
6262
6363
# PR merged, push prelease and CarterTemplate Carter packages to feedz
64-
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/heads')
64+
- if: github.event_name == 'push' && (startsWith(github.ref, 'refs/heads') || (startsWith(github.ref, 'refs/tags') && contains(github.ref, '-ci')))
6565
name: Push prelease and CarterTemplate Carter packages to feedz
6666
run: ./push.sh carter feedz ${{ secrets.FEEDZ_KEY }}
6767

6868
# Main tag created, push Carter and CarterTemplate packages to NuGet
69-
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && !startsWith(github.ref, 'refs/tags/newtonsoft-')
69+
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && !startsWith(github.ref, 'refs/tags/newtonsoft-')
7070
name: Push Carter and CarterTemplate packages to NuGet
7171
run: ./push.sh carter nuget ${{ secrets.NUGET_KEY }}
7272

0 commit comments

Comments
 (0)