Skip to content

Commit

Permalink
fix: use full sha
Browse files Browse the repository at this point in the history
  • Loading branch information
nopeless committed Oct 4, 2023
1 parent 4ba4360 commit 2b090b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Publish
run: |
dotnet publish app/GHelper.sln --configuration Release --runtime win-x64 -p:PublishSingleFile=true --no-self-contained
powershell Compress-Archive app/bin/x64/Release/net7.0-windows/win-x64/publish/* GHelper-${{ github.sha:0:7 }}.zip
powershell Compress-Archive app/bin/x64/Release/net7.0-windows/win-x64/publish/* GHelper-${{ github.sha }}.zip
- name: Upload
if: github.event_name != 'workflow_dispatch'
Expand All @@ -35,5 +35,5 @@ jobs:
if: github.event_name == 'workflow_dispatch'
uses: actions/upload-artifact@v3
with:
name: GHelper-release-${{ github.sha:0:7 }}
name: GHelper-release-${{ github.sha }}
path: GHelper-*.zip

0 comments on commit 2b090b9

Please sign in to comment.