We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bceec33 commit e27d5c6Copy full SHA for e27d5c6
.github/workflows/publish.yml
@@ -0,0 +1,23 @@
1
+name: publish to nuget
2
+on:
3
+ release:
4
+ types: [published]
5
+jobs:
6
+ build:
7
+
8
+ runs-on: ubuntu-latest
9
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - name: Setup .NET Core
13
+ uses: actions/setup-dotnet@v1
14
+ with:
15
+ dotnet-version: 3.1.101
16
+ - name: Build with dotnet
17
+ run: dotnet build --configuration Release
18
+ - name: Test with dotnet
19
+ run: dotnet test
20
+ - name: Pack with dotnet
21
+ run: dotnet pack ZipContent.S3/ZipContent.S3.csproj --configuration Release
22
+ - name: Push with dotnet
23
+ run: dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --no-symbols 1
0 commit comments