From 33db5813275e23c4c314935e3eeeeb46e3093af7 Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Mon, 4 Nov 2024 02:40:44 +0100 Subject: [PATCH] add artifact upload --- .github/workflows/main.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5ffc906..ab54a30 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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