File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : nuget
4+ directory : " /"
5+ schedule :
6+ interval : daily
7+ time : " 03:00"
8+ timezone : Europe/Oslo
9+ open-pull-requests-limit : 99
10+ - package-ecosystem : github-actions
11+ directory : " /"
12+ schedule :
13+ interval : daily
14+ time : " 03:00"
15+ timezone : Europe/Oslo
16+ open-pull-requests-limit : 99
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ name: Build
22
33on :
44 push :
5+ tags : ['*']
56 branches : [ main ]
67 pull_request :
78 branches : [ main ]
6364 publish :
6465 runs-on : ubuntu-latest
6566 needs : build
67+ if : startsWith(github.ref, 'refs/tags/') # Only publish tagged commits
6668
6769 steps :
6870 - uses : actions/download-artifact@v2
7274 - uses : NuGet/setup-nuget@v1.0.5
7375
7476 - name : Publish To NuGet.org
75- # if: startsWith(github.ref, 'refs/tags/') # Only publish tagged commits
7677 run : nuget push *.nupkg -Source nuget.org -ApiKey ${{ secrets.NUGET_API_KEY }}
You can’t perform that action at this time.
0 commit comments