From bf3f201c4f971cf5fc2a5b2cdfea8fdf1236ed6f Mon Sep 17 00:00:00 2001 From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Date: Mon, 17 Apr 2023 17:34:24 +0200 Subject: build: Only upload platform relevant artifacts (#272) build: Only upload platform relevant artifact as opposed to attempt uploading artifacts not relevant to platform Main reason of doing this is to remove the warning of "missing artifacts" caused by e.g. Windows runner looking for Linux artifacts as well next to Windows artifacts --- .github/workflows/push-test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/push-test.yml b/.github/workflows/push-test.yml index 025d1f0c..18a027ff 100644 --- a/.github/workflows/push-test.yml +++ b/.github/workflows/push-test.yml @@ -103,12 +103,14 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} - name: Upload Linux artifact + if: matrix.platform == 'ubuntu-22.04' uses: actions/upload-artifact@v3 with: name: linux-artifacts path: | src-tauri/target/release/bundle/appimage/* - name: Upload Windows artifact + if: matrix.platform == 'windows-latest' uses: actions/upload-artifact@v3 with: name: windows-artifacts -- cgit v1.2.3