CI: Run upload and attach independent of failure

This commit is contained in:
Jonas Kvinge 2024-04-06 21:10:10 +02:00
parent e1fbe9ae54
commit 3e9a1776a1
1 changed files with 2 additions and 2 deletions

View File

@ -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