Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
russcam committed May 23, 2024
1 parent a8bf084 commit c163c15
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:
release:
types: [ "published" ]

# permissions:
# checks: write

jobs:
build:
name: Build
Expand All @@ -25,11 +22,11 @@ jobs:
run: ./build.sh pack
shell: bash

# - name: Publish NuGet package
# env:
# NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
# run: dotnet nuget push nuget/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json
# shell: bash
- name: Publish NuGet package
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
run: dotnet nuget push nuget/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json
shell: bash

- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit c163c15

Please sign in to comment.