Skip to content

Commit

Permalink
Merge pull request #25 from difi/gihub-actions-release
Browse files Browse the repository at this point in the history
Korriger github actions release-skript
  • Loading branch information
johnksv authored May 8, 2020
2 parents 268aafc + 15265ef commit a86d9d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:
- name: Pack nupkg of Difi.Felles.Utility
run: dotnet pack -p:PackageVersion=$RELEASE_VERSION --configuration Release --no-build --output digipost/packed Difi.Felles.Utility
- name: Pack nupkg of Difi.Felles.Utility.Resources
run: dotnet pack -p:PackageVersion=$RELEASE_VERSION --configuration Release --no-build --output Difi.Felles.Utility.Resources
run: dotnet pack -p:PackageVersion=$RELEASE_VERSION --configuration Release --no-build --output digipost/packed Difi.Felles.Utility.Resources
- name: Push Difi.Felles.Utility to NuGet
env:
NUGET_API_KEY: ${{ secrets.nugetApiKey }}
run: dotnet nuget push "digipost/packed/Difi.Felles.Utility.$RELEASE_VERSION.nupkg" --source https://api.nuget.org/v3/index.json --api-key $NUGET_API_KEY
run: dotnet nuget push "digipost/packed/Difi.Felles.Utility.$RELEASE_VERSION.nupkg" --skip-duplicate --source https://api.nuget.org/v3/index.json --api-key $NUGET_API_KEY
- name: Push Difi.Felles.Utility.Resources to NuGet
env:
NUGET_API_KEY: ${{ secrets.nugetApiKey }}
Expand Down

0 comments on commit a86d9d7

Please sign in to comment.