We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4d9ed3 commit e2fe182Copy full SHA for e2fe182
.github/workflows/dotnetcore.yml
@@ -1,12 +1,12 @@
1
-name: .NET Core
2
-
3
-on: [push]
4
+# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions
+name: Build-Pack-Publish
+on:
+ push:
5
+ branches:
6
+ - master
7
jobs:
8
build:
9
runs-on: ubuntu-latest
10
steps:
11
- uses: actions/checkout@v2
12
- name: Setup .NET Core
@@ -15,3 +15,11 @@ jobs:
15
dotnet-version: 2.2.108
16
- name: Build with dotnet
17
run: dotnet build --configuration Release
18
+ pack:
19
+ runs-on: ubuntu-latest
20
+ needs: build
21
+ steps:
22
+ - name: Package
23
+ shell: pwsh
24
+ run: echo ${{ secrets.password }}
25
+#nuget.exe push -Source {NuGet package source URL} -ApiKey key HelloWorld\HelloWorld.nupkg
0 commit comments