File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Milvasoft.ExpressionBuilder Nuget Publish
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ paths :
7
+ - ' ExpressionBuilder/**'
8
+ pull_request :
9
+ branches : [ master ]
10
+ paths :
11
+ - ' ExpressionBuilder/**'
12
+
13
+ jobs :
14
+ build :
15
+
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - uses : actions/checkout@v2
19
+ - name : Setup .NET
20
+ uses : actions/setup-dotnet@v1
21
+ with :
22
+ dotnet-version : 8.0.x
23
+ - name : Restore Milvasoft.ExpressionBuilder project dependencies
24
+ run : dotnet restore ExpressionBuilder/ExpressionBuilder.csproj
25
+ - name : Build Milvasoft.ExpressionBuilder project
26
+ run : dotnet build ExpressionBuilder/ExpressionBuilder.csproj --no-restore --configuration Release
27
+ - name : Pack Milvasoft.ExpressionBuilder project
28
+ run : dotnet pack ExpressionBuilder/ExpressionBuilder.csproj --no-build --configuration Release --include-symbols -p:SymbolPackageFormat=snupkg -o .
29
+ - name : Publish Milvasoft.ExpressionBuilder package to NuGet
30
+ run : dotnet nuget push *.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source "https://api.nuget.org/v3/index.json" --skip-duplicate
You can’t perform that action at this time.
0 commit comments