Skip to content

Commit

Permalink
add artifact upload
Browse files Browse the repository at this point in the history
  • Loading branch information
dpolakovics committed Nov 4, 2024
1 parent 96ef1b9 commit 33db581
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,31 @@ jobs:
run: fyne-cross windows
- name: Cross-compile for Linux
run: fyne-cross linux
- name: Upload Windows artifact
uses: actions/upload-artifact@v3
with:
name: windows-build
path: fyne-cross/bin/windows-amd64

- name: Upload Linux artifact
uses: actions/upload-artifact@v3
with:
name: linux-build
path: fyne-cross/bin/linux-amd64
build-mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Install fyne-cross
run: go install github.com/fyne-io/fyne-cross@latest
- name: Cross-compile for macOS
run: fyne-cross darwin
- name: Upload macOS artifact
uses: actions/upload-artifact@v3
with:
name: macos-build
path: fyne-cross/bin/darwin-amd64

0 comments on commit 33db581

Please sign in to comment.