aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2023-04-17 17:34:24 +0200
committerGitHub <noreply@github.com>2023-04-17 17:34:24 +0200
commitbf3f201c4f971cf5fc2a5b2cdfea8fdf1236ed6f (patch)
tree65fedc17d2310004038187c75531c0daa8eca820 /.github/workflows
parent420c9bb8d3973eb6cb6f11b9bcf98953348d4c14 (diff)
downloadFlightCore-bf3f201c4f971cf5fc2a5b2cdfea8fdf1236ed6f.tar.gz
FlightCore-bf3f201c4f971cf5fc2a5b2cdfea8fdf1236ed6f.zip
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
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/push-test.yml2
1 files changed, 2 insertions, 0 deletions
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