From 3e9a1776a104fd997b117b165bdda49983b8e98e Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sat, 6 Apr 2024 21:10:10 +0200 Subject: [PATCH] CI: Run upload and attach independent of failure --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 804c9d7af..21def7f5b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1427,7 +1427,7 @@ jobs: upload: name: Upload - if: github.repository == 'strawberrymusicplayer/strawberry' && (github.event_name == 'release' || (github.event_name == 'push' && github.event.pull_request.head.repo.fork == false && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/ci'))) + if: (success() || failure()) && github.repository == 'strawberrymusicplayer/strawberry' && (github.event_name == 'release' || (github.event_name == 'push' && github.event.pull_request.head.repo.fork == false && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/ci'))) runs-on: ubuntu-latest needs: - build-opensuse @@ -1476,7 +1476,7 @@ jobs: attach: name: Attach to release - if: github.event_name == 'release' + if: (success() || failure()) && github.event_name == 'release' runs-on: ubuntu-latest needs: - build-opensuse