Skip to content

Commit

Permalink
ci: Re add Linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
creamlike1024 committed Apr 12, 2024
1 parent eb75efe commit 5908762
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,15 @@ jobs:
go install fyne.io/fyne/v2/cmd/fyne@latest
go install github.com/fyne-io/fyne-cross@latest
# - name: Build for Linux
# if: runner.os == 'Linux'
# run: |
# go build -ldflags="-s -w"
# mkdir lpac
# chmod +x EasyLPAC
# tar zcf EasyLPAC-linux-x86_64.tar.gz EasyLPAC lpac
- name: Build for Linux
if: runner.os == 'Linux'
run: |
go build -ldflags="-s -w"
wget https://github.com/estkme-group/lpac/releases/download/v2.0.0/lpac-linux-x86_64.zip -O lpac.zip && unzip lpac.zip && rm lpac.zip
chmod +x lpac
chmod +x EasyLPAC
tar zcf EasyLPAC-linux-x86_64-with-lpac.tar.gz EasyLPAC lpac
tar zcf EasyLPAC-linux-x86_64.tar.gz EasyLPAC
- name: Build for Windows
if: runner.os == 'Linux'
Expand Down Expand Up @@ -101,6 +103,8 @@ jobs:
EasyLPAC-windows-arm64-with-lpac.zip
EasyLPAC-macOS-x86_64-with-lpac.zip
EasyLPAC-macOS-x86_64-with-lpac.dmg
EasyLPAC-linux-x86_64-with-lpac.tar.gz
EasyLPAC-linux-x86_64.tar.gz
- name: Release
uses: softprops/action-gh-release@v1
Expand All @@ -110,4 +114,6 @@ jobs:
EasyLPAC-windows-x86_64-with-lpac.zip
EasyLPAC-windows-arm64-with-lpac.zip
EasyLPAC-macOS-x86_64-with-lpac.zip
EasyLPAC-macOS-x86_64-with-lpac.dmg
EasyLPAC-macOS-x86_64-with-lpac.dmg
EasyLPAC-linux-x86_64-with-lpac.tar.gz
EasyLPAC-linux-x86_64.tar.gz

0 comments on commit 5908762

Please sign in to comment.