Skip to content

Commit

Permalink
Update essentialsplugins-releasebuilds.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-welker authored Mar 12, 2021
1 parent fab9a10 commit 597fb9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/essentialsplugins-releasebuilds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release Build Using Docker
on:
release:
types:
- created
- published
branches:
- main

Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:
- name: Create nuget package
run: nuget pack "./${{ env.NUSPEC_FILE}}.nuspec" -version ${{ needs.Build_Project.outputs.version }}
- name: Publish nuget package to Github registry
run: nuget push **/*.nupkg -source github --api-key ${{ secrets.GITHUB_TOKEN}}
run: nuget push **/*.nupkg -source github
# Pushes to nuget, not needed unless publishing publicly >> this pushes package to nuget.org
- name: Publish nuget package to nuget.org
run: nuget push **/*.nupkg -Source https://api.nuget.org/v3/index.json

0 comments on commit 597fb9e

Please sign in to comment.