-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3a2fbe3
commit 38e3cd5
Showing
3 changed files
with
53 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Build Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- "master" | ||
tags: | ||
- "v*" # For v1.0, v0.1.0, etc | ||
pull_request: | ||
branches: | ||
- "master" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build | ||
run: | | ||
sudo apt update -y | ||
sudo apt install -y docker golang git | ||
go install github.com/fyne-io/fyne-cross@latest | ||
~/go/bin/fyne-cross linux -arch=amd64,arm64 -app-id="OnionSoup" | ||
~/go/bin/fyne-cross windows -arch=amd64,arm64 -app-id="Onion.Soup" | ||
- name: Release | ||
uses: softprops/action-gh-release@v2 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: | | ||
LICENSE | ||
fyne-cross/dist/linux-amd64/onionsoup.tar.xz | ||
fyne-cross/dist/linux-arm64/onionsoup.tar.xz | ||
fyne-cross/dist/windows-amd64/onionsoup.exe.zip | ||
fyne-cross/dist/windows-arm64/onionsoup.exe.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.history/ | ||
fyne-cross/ | ||
tests/ | ||
macos-sdk/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters