Skip to content

Commit

Permalink
Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mingyaulee authored May 1, 2021
1 parent 842fc57 commit e754f0c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/WebExtension.Net-Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ on:
jobs:
release:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src/WebExtension.Net
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -33,6 +30,6 @@ jobs:
- name: Build
run: 'dotnet build --no-restore --configuration Release -p:"AssemblyVersion=${{ steps.gitversion.outputs.MajorMinorPatch }};Version=${{ steps.gitversion.outputs.SemVer }}"'
- name: Push generated package to NuGet
run: dotnet nuget push ./PackageOutput/*.nupkg --api-key ${NUGET_AUTH_TOKEN} --source https://api.nuget.org/v3/index.json
run: dotnet nuget push ./src/PackageOutput/*.nupkg --api-key ${NUGET_AUTH_TOKEN} --source https://api.nuget.org/v3/index.json
env:
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_KEY }}

0 comments on commit e754f0c

Please sign in to comment.