Skip to content

Commit

Permalink
rename files for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
waleko committed May 27, 2022
1 parent 9f5a9fb commit 4464fce
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/bundle-client-craft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,18 @@ jobs:
steps:
- name: Download all workflow run artifacts
uses: actions/download-artifact@v3
- name: Rename files
run: |
find -name '*.exe' -exec mv '{}' "./cavoke-${GITHUB_REF_NAME}-windows.exe" ';'
find -name '*.dmg' -exec mv '{}' "./cavoke-${GITHUB_REF_NAME}-macos.dmg" ';'
find -name '*.AppImage' -exec mv '{}' "./cavoke-${GITHUB_REF_NAME}-linux.AppImage" ';'
- name: GitHub Release
uses: softprops/action-gh-release@v1
with:
name: Release ${{ github.ref }}
name: Release ${{ github.ref_name }}
draft: true
files: |
**/*.dmg
**/*.exe
**/*.AppImage
cavoke-*-windows.exe
cavoke-*-macos.dmg
cavoke-*-linux.AppImage
fail_on_unmatched_files: true

0 comments on commit 4464fce

Please sign in to comment.