Skip to content

Commit

Permalink
Use release.tag_name.
Browse files Browse the repository at this point in the history
  • Loading branch information
ddunkin committed Sep 13, 2023
1 parent 86da8d3 commit e38b2cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,4 @@ jobs:
mkdir release
Compress-Archive -Path ./src/Facility.LanguageServer/bin/Release/net6.0/publish/* -DestinationPath release/Facility.LanguageServer.zip
Compress-Archive -Path ./src/Facility.LanguageServer/bin/Release/net6.0/win-x64/publish/* -DestinationPath release/Facility.LanguageServer-win-x64.zip
$tagName = $env:GITHUB_REF -replace 'refs/tags/', ''
gh release upload $tagName release/*
gh release upload ${{ github.event.release.tag_name }} release/*

0 comments on commit e38b2cc

Please sign in to comment.