Skip to content

Commit

Permalink
refac
Browse files Browse the repository at this point in the history
  • Loading branch information
tjbck committed Jan 16, 2025
1 parent 9efcf44 commit 805b9c3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,15 @@ jobs:
uses: actions/download-artifact@v3
- name: Rename Artifacts with SHA
run: |
# Rename .zip files for Linux/macOS builds
for file in *.zip; do
mv "$file" "${file%.zip}-${{ steps.slug.outputs.sha8 }}.zip"
done
# Rename .exe files for Windows builds
for file in *.exe; do
mv "$file" "${file%.exe}-${{ steps.slug.outputs.sha8 }}.exe"
done
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
Expand All @@ -114,4 +120,5 @@ jobs:
draft: false
prerelease: false
files: |
**/*.zip
**/*.zip
**/*.exe

0 comments on commit 805b9c3

Please sign in to comment.