From aed21a1e95d89ac6fe743ede0ed29a6d7e563e15 Mon Sep 17 00:00:00 2001 From: Robert Janetzko Date: Sun, 8 May 2022 19:35:03 +0000 Subject: [PATCH] upload separate artifacts --- .github/workflows/build.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4e8666a..0861c09 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,15 +19,25 @@ jobs: go-version: 1.18 - name: Build MacOS - run: cd backend && GOOS=darwin GOARCH=amd64 go build -o ../bin/legendsbrowser-mac + run: cd backend && GOOS=darwin GOARCH=amd64 go build -o ../bin/legendsbrowser-mac-intel - name: Build Linux run: cd backend && GOOS=linux GOARCH=amd64 go build -o ../bin/legendsbrowser-linux-x64 - name: Build Windows run: cd backend && GOOS=windows GOARCH=amd64 go build -o ../bin/legendsbrowser-win-x64.exe - - name: Upload Artifacts + - name: Upload MacOS Artifact uses: actions/upload-artifact@v3 with: - name: dist-without-markdown - path: | - bin \ No newline at end of file + name: mac-os + path: bin/legendsbrowser-mac-intel + - name: Upload Linux Artifact + uses: actions/upload-artifact@v3 + with: + name: linux + path: bin/legendsbrowser-linux-x64 + - name: Upload MacOS Artifact + uses: actions/upload-artifact@v3 + with: + name: windows + path: bin/legendsbrowser-win-x64.exe + \ No newline at end of file