Skip to content

Commit ef47336

Browse files
authored
Update libgit2sharp.yml
1 parent eeb8873 commit ef47336

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/libgit2sharp.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ jobs:
3131
- name: Create Release
3232
id: create_release
3333
uses: actions/create-release@v1
34-
env:
34+
env: |
35+
SHORT_SHA: ${GITHUB_REF##*/}
3536
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3637
with:
3738
tag_name: ${{ github.ref }}
@@ -41,8 +42,7 @@ jobs:
4142
- name: Upload Release Asset
4243
id: upload-release-asset
4344
uses: actions/upload-release-asset@v1
44-
env: |
45-
SHORT_SHA: ${GITHUB_REF##*/}
45+
env:
4646
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4747
with:
4848
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

0 commit comments

Comments
 (0)