From b6018997222cc55b6772757853a5f68571efe2c9 Mon Sep 17 00:00:00 2001
From: Simon McVittie <[EMAIL REDACTED]>
Date: Fri, 20 May 2022 18:51:48 +0100
Subject: [PATCH] workflows: Collect artifacts for all jobs, not just Linux
Signed-off-by: Simon McVittie <smcv@collabora.com>
---
.github/workflows/main.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 017c054..e836aff 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -176,10 +176,10 @@ jobs:
parallel="$(getconf _NPROCESSORS_ONLN)"
make -j"${parallel}" -C build-autotools distcheck V=1
- name: Upload artifacts
- if: "failure() && runner.os == 'Linux' && ! matrix.platform.cmake"
+ if: "failure() && ! matrix.platform.cmake"
uses: actions/upload-artifact@v3
with:
- name: Autotools artifacts
+ name: ${{ matrix.platform.name }} artifacts
path: |
build-autotools/test/*.bmp
build-autotools/test/*.jpg