We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b87e1c commit 7fe2c2fCopy full SHA for 7fe2c2f
.github/workflows/publish.yml
@@ -0,0 +1,28 @@
1
+name: Publish
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - release
7
+ push:
8
9
10
11
+jobs:
12
13
+ publish:
14
+ runs-on: windows-latest
15
+ strategy:
16
+ matrix:
17
+ dotnet: ['3.1.x', '5.0.x','6.0.x']
18
19
+ steps:
20
21
+ - name: Release Dll
22
+ run : dotnet build -c Release
23
24
+ - name: Pack - Env
25
+ run: dotnet pack --include-symbols -p:SymbolPackageFormat=snupkg --no-build -c Release DotNetCore.Compile.Environment/DotNetCore.Compile.Environment.csproj -o .
26
27
+ - name: Push to Nuget - Env
28
+ run: dotnet nuget push *.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate
0 commit comments