Skip to content

Commit 2f2a49a

Browse files
committed
Debug the "Publish package on github.com" job
1 parent 1259f73 commit 2f2a49a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ jobs:
3838
publish-prerelease:
3939
runs-on: macos-latest
4040
needs: package
41-
if: github.ref == 'refs/heads/deploy'
41+
if: github.ref == 'refs/heads/main'
4242
name: Publish package on github.com
4343
steps:
44-
- run: dotnet nuget add source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --name github --username ${{ github.repository_owner }} --password ${{ github.token }} --store-password-in-clear-text
45-
- run: dotnet nuget push "**/*.nupkg" --source github
44+
- run: echo version -- ${{ needs.package.outputs.version }} --
45+
- run: echo dotnet nuget add source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --name github --username ${{ github.repository_owner }} --password ${{ github.token }} --store-password-in-clear-text
46+
- run: echo dotnet nuget push "**/*.nupkg" --source github

0 commit comments

Comments
 (0)