File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : build & test
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ build-and-test :
11+ runs-on : ubuntu-latest
12+ timeout-minutes : 15
13+
14+ steps :
15+ - uses : actions/checkout@v2
16+ - uses : TagBites/actions/dotnet-build@master
17+ with :
18+ solution : TagBites.ComponentModel.Composition.sln
19+ # - uses: TagBites/actions/dotnet-test@master
Original file line number Diff line number Diff line change 1+ name : publish preview
2+
3+ on :
4+ push :
5+ tags :
6+ - " v?[0-9]+.[0-9]+.[0-9]+-preview.[0-9]+"
7+
8+ jobs :
9+ publish-preview :
10+ runs-on : ubuntu-latest
11+ timeout-minutes : 15
12+
13+ steps :
14+ - uses : actions/checkout@v2
15+ - uses : TagBites/actions/dotnet-build@master
16+ - uses : TagBites/actions/nuget-publish@master
17+ with :
18+ nuget-source : " https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"
19+ nuget-key : " ${{ secrets.GITHUB_TOKEN }}"
Original file line number Diff line number Diff line change 1+ name : publish
2+
3+ on :
4+ push :
5+ tags :
6+ - " v?[0-9]+.[0-9]+.[0-9]+"
7+
8+ jobs :
9+ publish :
10+ runs-on : ubuntu-latest
11+ timeout-minutes : 15
12+
13+ steps :
14+ - uses : actions/checkout@v2
15+ - uses : TagBites/actions/dotnet-build@master
16+ with :
17+ solution : TagBites.ComponentModel.Composition.sln
18+ - uses : TagBites/actions/nuget-publish@master
19+ with :
20+ nuget-source : " https://api.nuget.org/v3/index.json"
21+ nuget-key : " ${{ secrets.NUGET_KEY }}"
You can’t perform that action at this time.
0 commit comments