Skip to content

Commit

Permalink
build app and upload artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
eumel8 committed Jun 17, 2024
1 parent f7d3721 commit ad14e22
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# https://github.com/marketplace/actions/go-release-binaries
name: build app
on:
push:
branches:
Expand Down Expand Up @@ -31,13 +32,16 @@ jobs:
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
export PATH=$PATH:~/go/bin
pwd
ls
echo "$HOME/go/bin" >> $GITHUB_PATH
fyne-cross linux -output carbon-app -arch=amd64 -debug .
#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
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: linux-amd64
path: fyne-cross/dist/linux-amd64/
#- uses: wangyoucao577/[email protected]
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit ad14e22

Please sign in to comment.