From 9417045972061f277c0c6b7aaf4a9ec8ba01252c Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Tue, 14 Jan 2025 18:47:08 +0000 Subject: [PATCH] Split binaries --- .forgejo/workflows/publish.yml | 12 +++++++++--- .forgejo/workflows/staging.yml | 12 +++++++++--- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/publish.yml b/.forgejo/workflows/publish.yml index 16d94fa..6ab41ea 100644 --- a/.forgejo/workflows/publish.yml +++ b/.forgejo/workflows/publish.yml @@ -32,11 +32,17 @@ jobs: - run: yarn install --frozen-lockfile - run: yarn build - run: yarn package - - name: Upload Binary + - name: Upload Linux Binary uses: actions/upload-artifact@v3 with: - name: random-bunny-${{ github.run_id }} - path: bin/ + name: random-bunny-linux + path: bin/random-bunny-linux + if-no-files-found: error + - name: Upload Windows Binary + uses: actions/upload-artifact@v3 + with: + name: random-bunny-win.exe + path: bin/random-bunny-win.exe if-no-files-found: error publish: diff --git a/.forgejo/workflows/staging.yml b/.forgejo/workflows/staging.yml index fdc568f..695fd5a 100644 --- a/.forgejo/workflows/staging.yml +++ b/.forgejo/workflows/staging.yml @@ -34,9 +34,15 @@ jobs: - run: yarn install --frozen-lockfile - run: yarn build - run: yarn package - - name: Upload Binary + - name: Upload Linux Binary uses: actions/upload-artifact@v3 with: - name: random-bunny-${{ github.run_id }} - path: bin/ + name: random-bunny-linux + path: bin/random-bunny-linux + if-no-files-found: error + - name: Upload Windows Binary + uses: actions/upload-artifact@v3 + with: + name: random-bunny-win.exe + path: bin/random-bunny-win.exe if-no-files-found: error \ No newline at end of file