From 8ac63d58cdd05ae14e2ebedbfdcf3c7ea1e5cd3c Mon Sep 17 00:00:00 2001 From: Logan Jones Date: Mon, 14 Apr 2025 19:04:13 -0500 Subject: [PATCH] fixing artifact handling, manual upload --- .github/workflows/wails.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/wails.yml b/.github/workflows/wails.yml index 7a90f33..ca71451 100644 --- a/.github/workflows/wails.yml +++ b/.github/workflows/wails.yml @@ -23,12 +23,15 @@ jobs: - name: 'yellowjacket' platform: 'linux/amd64' os: 'ubuntu-latest' + bin-name: 'yellowjacket' - name: 'yellowjacket.exe' platform: 'windows/amd64' os: 'windows-latest' + bin-name: 'yellowjacket.exe' - name: 'yellowjacket' platform: 'darwin/universal' os: 'macos-latest' + bin-name: 'yellowjacket.app' runs-on: ${{ matrix.build.os }} steps: @@ -54,11 +57,21 @@ jobs: build-name: ${{ matrix.build.name }} build-platform: ${{ matrix.build.platform }} go-version: '1.24' + package: false + app-working-directory: /yj + + - name: Upload Binaries + uses: actions/upload-artifact@v4 + with: + name: YellowJacket ${{ matrix.build.platform }} + path: /yj/build/bin/${{ matrix.build.bin-name }} release: runs-on: ubuntu-latest needs: build steps: + - name: Download Artifacts + uses: actions/download-artifact@v4 - name: Release uses: softprops/action-gh-release@v2 if: github.ref_type == 'tag' @@ -76,7 +89,4 @@ jobs: - Linux: `yellowjacket` - Windows: `yellowjacket.exe` - MacOS: `yellowjacket.app.zip` - files: | - ./build/bin/yellowjacket - ./build/bin/yellowjacket.exe - ./build/bin/yellowjacket.app.zip + files: ${{ github.workspace }}/yellowjacket*