Skip to content

Commit 20f6308

Browse files
committed
Push NuGet packages to package feed
1 parent 7b7888f commit 20f6308

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Finite.Commands to MyGet
1+
name: Build pull request
22

33
on:
44
pull_request:

.github/workflows/publish.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Finite.Commands to MyGet
1+
name: Build and publish Finite.Commands
22

33
on:
44
push:
@@ -7,6 +7,9 @@ on:
77
paths-ignore:
88
- 'docs/**'
99

10+
env:
11+
MYGET_FEED: https://www.myget.org/F/finitereality/api/v2/package
12+
1013
jobs:
1114
build:
1215
runs-on: ubuntu-latest
@@ -35,3 +38,6 @@ jobs:
3538
uses: actions/upload-artifact@v2
3639
with:
3740
path: ${{ github.workspace }}/artifacts/pkg/Release/*.nupkg
41+
42+
- name: Publish packages
43+
run: dotnet nuget push "${{ github.workspace }}/artifacts/pkg/Release/*.nupkg" -k "${{ secrets.myget }}" -s "$MYGET_FEED"

0 commit comments

Comments
 (0)