Skip to content

Commit

Permalink
rename release files
Browse files Browse the repository at this point in the history
  • Loading branch information
eumel8 committed Jun 17, 2024
1 parent 9d007fb commit 3a2ed1d
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,20 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
- name: install packages & compile
- name: install packages
run: |
go version
sudo apt update
sudo apt-get -y install bc gcc libgl1-mesa-dev libwayland-dev libx11-dev libxkbcommon-dev xorg-dev xvfb
go install github.com/fyne-io/fyne-cross@latest
go install github.com/tcnksm/ghr@latest
export PATH=$PATH:~/go/bin
echo "$HOME/go/bin" >> $GITHUB_PATH
#echo "$HOME/go/bin" >> $GITHUB_PATH
- name: compile
run: |
fyne-cross linux -output carbon-app -arch=amd64,arm64 -debug .
mv fyne-cross/dist/linux-arm64/carbonapp-arm64.tar.xz
mv fyne-cross/dist/linux-amd64/carbonapp-amd64.tar.xz
#sudo apt update
#sudo apt-get -y install bc gcc libgl1-mesa-dev libwayland-dev libx11-dev libxkbcommon-dev xorg-dev xvfb
#sudo apt-get -y install libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev gcc pkg-config libxxf86vm-dev
Expand All @@ -47,11 +52,18 @@ jobs:
# with:
# name: carbonapp-arm64
# path: fyne-cross/dist/linux-arm64/
- name: Release dist
- name: Release dist linux-amd64
uses: fnkr/github-action-ghr@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GHR_PATH: fyne-cross/dist/carbonapp-amd64.tar.xz
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
GHR_REPLACE: true
- name: Release dist linux-arm64
uses: fnkr/github-action-ghr@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GHR_PATH: fyne-cross/dist/
GHR_PATH: fyne-cross/dist/carbonapp-arm64.tar.xz
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
GHR_REPLACE: true
#- name: Release linux-arm64
Expand Down

0 comments on commit 3a2ed1d

Please sign in to comment.