Skip to content

Commit

Permalink
Modify Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bparks13 committed Aug 14, 2024
1 parent 5ae1db6 commit 2c063c2
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,19 +98,21 @@ jobs:

deploy:
name: Deploy Package
runs-on: windows-latest
needs: [build, publish-github]
runs-on: ubuntu-latest
needs: [build]
if: github.event_name == 'release'

steps:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.x

- name: Download packages
uses: actions/download-artifact@v4
with:
name: Packages
path: Packages

- name: Setup .NET Core
uses: actions/setup-dotnet@v4

- name: Publish NuGet Package
run: dotnet nuget push "Packages/*.nupkg" --skip-duplicate --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json

0 comments on commit 2c063c2

Please sign in to comment.