Skip to content

Commit e2fe182

Browse files
testing github secrets in yml
1 parent a4d9ed3 commit e2fe182

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: .NET Core
2-
3-
on: [push]
4-
1+
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions
2+
name: Build-Pack-Publish
3+
on:
4+
push:
5+
branches:
6+
- master
57
jobs:
68
build:
7-
89
runs-on: ubuntu-latest
9-
1010
steps:
1111
- uses: actions/checkout@v2
1212
- name: Setup .NET Core
@@ -15,3 +15,11 @@ jobs:
1515
dotnet-version: 2.2.108
1616
- name: Build with dotnet
1717
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

Comments
 (0)