8000 Update libgit2sharp.yml · dotdevelop/libgit2sharp@8c85ba3 · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 8c85ba3

Browse files
authored
Update libgit2sharp.yml
1 parent ffafb21 commit 8c85ba3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/libgit2sharp.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,11 @@ jobs:
4848
uses: actions/upload-release-asset@v1
4949
env:
5050
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51+
SHORT_SHA: ${{ steps.short-sha.outputs.short_sha }}
5152
with:
5253
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
53-
asset_path: ./bin/Packages/Release/LibGit2Sharp.0.27.0-preview-g${{ steps.short-sha.output.short_sha }}.nupkg
54-
asset_name: LibGit2Sharp.0.27.0-preview-g${{ github.sha }}.nupkg
54+
asset_path: ./bin/Packages/Release/LibGit2Sharp.0.27.0-preview-g${{ steps.short-sha.outputs.short_sha }}.nupkg
55+
asset_name: LibGit2Sharp.0.27.0-preview-g${{ SHORT_SHA }}.nupkg
5556
asset_content_type: application/nupkg
5657

5758
test:

0 commit comments

Comments
 (0)
0