Skip to content

Commit

Permalink
build(github): 🐛 ensure fyne-cross builds are named with arch for uni…
Browse files Browse the repository at this point in the history
…queness
  • Loading branch information
joshuar committed Apr 27, 2024
1 parent 806243e commit 5380b83
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ jobs:
MATRIX_ARCH: ${{ matrix.arch }}
- name: Build with fyne-cross
id: build_fyne_cross
run: >
fyne-cross linux -arch=${{ matrix.arch }}
-name go-hass-agent
-icon internal/agent/ui/assets/logo-pretty.png
-release
run: |
fyne-cross linux -arch=${{ matrix.arch }} -name go-hass-agent \
-icon internal/agent/ui/assets/logo-pretty.png -release
mv fyne-cross/dist/linux-${{ matrix.arch }}/go-hass-agent.tar.xz \
fyne-cross/dist/linux-${{ matrix.arch }}/go-hass-agent-${{ matrix.arch }}.tar.xz
- name: Create packages
id: nfpm_package
run: |
Expand Down Expand Up @@ -137,8 +137,8 @@ jobs:
id: upload_release
if: ${{ needs.check_release.outputs.release_created }}
run: >
gh release upload ${{ needs.check_release.outputs.release_tag }}
dist/*.{rpm,deb,zst,sig} fyne-cross/dist/linux-${{ matrix.arch }}/*.{tar.xz,sig}
gh release upload ${{ needs.check_release.outputs.release_tag }} dist/*.{rpm,deb,zst,sig}
gh release upload ${{ needs.check_release.outputs.release_tag }} fyne-cross/dist/linux-${{ matrix.arch }}/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit 5380b83

Please sign in to comment.