Skip to content

Commit

Permalink
Build
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinchilson committed Nov 9, 2019
1 parent 381f24c commit ebb4e0c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ jobs:
- name: Push generated package to GitHub registry
run: nuget push .\artifacts\NLog.Targets.GraylogHttp.${{ env.GIT_VERSION }}.nupkg -Source "GPR" -SkipDuplicate

- name: Push generated package to nuget.org
if: github.ref == 'master'
run: nuget push .\artifacts\NLog.Targets.GraylogHttp.${{ env.GIT_VERSION }}.nupkg ${{ secrets.NUGET_ORG_API_KEY }} -Source https://api.nuget.org/v3/index.json

- name: Create Release
id: create_release
uses: actions/create-release@master
Expand All @@ -35,8 +39,8 @@ jobs:
with:
tag_name: v${{env.GIT_VERSION }}
release_name: Release v${{ env.GIT_VERSION }}
draft: true
prerelease: true
draft: false
prerelease: false

- name: Upload Test Results
id: upload-test-results
Expand Down

0 comments on commit ebb4e0c

Please sign in to comment.