From 0b165f4945d42e3017cc9ec143a37d757de98146 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Tue, 14 Jan 2025 18:37:46 +0000 Subject: [PATCH] Split binary uploading --- .forgejo/workflows/publish.yml | 9 +++++++-- .forgejo/workflows/staging.yml | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/publish.yml b/.forgejo/workflows/publish.yml index f2c80db..7c0d126 100644 --- a/.forgejo/workflows/publish.yml +++ b/.forgejo/workflows/publish.yml @@ -32,10 +32,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: - path: bin/ + path: bin/random-bunny-linux + if-no-files-found: error + - name: Upload Windows Binary + uses: actions/upload-artifact@v3 + with: + 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 10bc8d6..3ca8d96 100644 --- a/.forgejo/workflows/staging.yml +++ b/.forgejo/workflows/staging.yml @@ -34,8 +34,13 @@ 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: - path: bin/ + path: bin/random-bunny-linux + if-no-files-found: error + - name: Upload Windows Binary + uses: actions/upload-artifact@v3 + with: + path: bin/random-bunny-win.exe if-no-files-found: error \ No newline at end of file