Skip to content

Commit

Permalink
Push NuGet packages to package feed
Browse files Browse the repository at this point in the history
  • Loading branch information
FiniteReality committed May 20, 2021
1 parent 7b7888f commit 20f6308
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Finite.Commands to MyGet
name: Build pull request

on:
pull_request:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Finite.Commands to MyGet
name: Build and publish Finite.Commands

on:
push:
Expand All @@ -7,6 +7,9 @@ on:
paths-ignore:
- 'docs/**'

env:
MYGET_FEED: https://www.myget.org/F/finitereality/api/v2/package

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -35,3 +38,6 @@ jobs:
uses: actions/upload-artifact@v2
with:
path: ${{ github.workspace }}/artifacts/pkg/Release/*.nupkg

- name: Publish packages
run: dotnet nuget push "${{ github.workspace }}/artifacts/pkg/Release/*.nupkg" -k "${{ secrets.myget }}" -s "$MYGET_FEED"

0 comments on commit 20f6308

Please sign in to comment.