File tree 3 files changed +29
-2
lines changed
3 files changed +29
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ pull_request :
7
+ branches :
8
+ - master
9
+
10
+ jobs :
11
+ build :
12
+ runs-on : ubuntu-latest
13
+
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+
17
+ - name : Use .NET 5.0
18
+ uses : actions/setup-dotnet@v1
19
+ with :
20
+ dotnet-version : 5.0.100
21
+
22
+ - name : Build and pack
23
+ run : |
24
+ dotnet build --configuration Release
25
+
Original file line number Diff line number Diff line change 5
5
- ' *.*.*'
6
6
7
7
jobs :
8
- deploy :
8
+ publish :
9
9
runs-on : ubuntu-latest
10
10
11
11
steps :
31
31
32
32
- name : Nuget push
33
33
run : |
34
- dotnet nuget push ./out/*.nupkg --api-key ${{secrets.NUGET_API_KEY}}
34
+ dotnet nuget push ./out/*.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ ProjectSection(SolutionItems) = preProject
10
10
dockerfile .tests = dockerfile .tests
11
11
Directory .Build .props = Directory .Build .props
12
12
testcompose .yml = testcompose .yml
13
+ LICENSE = LICENSE
14
+ .github \workflows \publishNuget .yml = .github \workflows \publishNuget .yml
13
15
.github \workflows \build .yml = .github \workflows \build .yml
14
16
EndProject Section
15
17
EndProject
You can’t perform that action at this time.
0 commit comments