Skip to content

Commit

Permalink
fix dotnet build
Browse files Browse the repository at this point in the history
  • Loading branch information
Yantrio committed Oct 11, 2022
1 parent 8e92642 commit 991d80e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/library-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ jobs:
run: cd sdk/nodejs/bin && npm publish --access public
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Package dotnet
run: cd sdk/dotnet && dotnet pack --configuration Release /p:Version=$(git describe --tags --abbrev=0 | sed 's/^v//g')
- name: Create NuGet config
run: cp nuget.config.template sdk/dotnet/nuget.config
- name: Publish dotnet package
run: cd sdk/dotnet && dotnet nuget push "bin/Release/Pulumi.Spacelift.$(git describe --tags --abbrev=0 | sed 's/^v//g').nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --source "github"
run: cd sdk/dotnet && dotnet nuget push ${{github.workspace}}/sdk/dotnet/bin/Debug/*.nupkg --api-key ${{ secrets.GITHUB_TOKEN }} --source "github"

0 comments on commit 991d80e

Please sign in to comment.