File tree Expand file tree Collapse file tree 8 files changed +116
-44
lines changed
Expand file tree Collapse file tree 8 files changed +116
-44
lines changed Original file line number Diff line number Diff line change 1+ # https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax
2+ # Each line is a file pattern followed by one or more owners.
3+
4+ # These owners will be the default owners for everything.
5+ * @ phnx47
Original file line number Diff line number Diff line change 1+ ko_fi : phnx47
2+ patreon : phnx47
3+ custom : ['https://www.buymeacoffee.com/phnx47']
Original file line number Diff line number Diff line change 1+ {
2+ "separateMajorMinor" : true ,
3+ "labels" : [
4+ " dependencies"
5+ ],
6+ "assignees" : [
7+ " @phnx47"
8+ ],
9+ "extends" : [
10+ " config:base"
11+ ],
12+ "nuget" : {
13+ "enabled" : true
14+ }
15+ }
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - ' *'
7+ - ' !master'
8+ tags :
9+ - ' !refs/tags/*'
10+ pull_request :
11+ branches :
12+ - master
13+
14+ jobs :
15+ build-branch :
16+ runs-on : ubuntu-20.04
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v1
20+ - name : Setup .NET Core
21+ uses : actions/setup-dotnet@v1
22+ - name : Restore
23+ run : dotnet restore
24+ - name : Build
25+ run : dotnet build --no-restore -c Release
26+ - name : Tests
27+ run : dotnet test --no-build -c Release
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - ' master'
7+ tags :
8+ - ' !refs/tags/*'
9+
10+ jobs :
11+ build-publish-dev :
12+ runs-on : ubuntu-20.04
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v1
16+ - name : Setup .NET Core
17+ uses : actions/setup-dotnet@v1
18+ with :
19+ source-url : https://nuget.pkg.github.com/prometheusclientnet/index.json
20+ env :
21+ NUGET_AUTH_TOKEN : ${{secrets.GH_DEPLOY_KEY}}
22+ - name : Restore
23+ run : dotnet restore
24+ - name : Build
25+ run : dotnet build --no-restore -c Release
26+ - name : Tests
27+ run : dotnet test --no-build -c Release
28+ - name : Pack artifacts
29+ run : dotnet pack src/* --no-build -c Release --version-suffix dev-$(date +%s) -o artifacts/
30+ - name : Publish artifacts
31+ uses : actions/upload-artifact@v2
32+ with :
33+ name : nupkg
34+ path : artifacts/*
35+ - name : Publish to GitHub
36+ run : dotnet nuget push "artifacts/*.nupkg" --skip-duplicate --no-symbols true
Original file line number Diff line number Diff line change 1+ name : " CI"
2+
3+ on :
4+ push :
5+ tags :
6+ - ' [34].[0-9]+.[0-9]+'
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-20.04
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@v1
14+ - name : Setup .NET Core
15+ uses : actions/setup-dotnet@v1
16+ - name : Restore
17+ run : dotnet restore
18+ - name : Build
19+ run : dotnet build -c Release
20+ - name : Tests
21+ run : dotnet test -c Release --no-build
22+ - name : Pack artifacts
23+ run : dotnet pack src/* -c Release --no-build -o artifacts/
24+ - name : Publish artifacts
25+ uses : actions/upload-artifact@v2
26+ with :
27+ name : nupkg
28+ path : artifacts/*
29+ - name : Publish to NuGet
30+ run : dotnet nuget push "artifacts/*.nupkg" --api-key ${{ secrets.NUGET_DEPLOY_KEY }} --source https://api.nuget.org/v3/index.json
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments