chore: use not cancelled in actions instead of always

This commit is contained in:
td 2024-06-21 15:55:38 +05:30
parent 056698dda4
commit d68d3fb86c
No known key found for this signature in database
GPG Key ID: 62A30523D4D6CE28
1 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ jobs:
sudo apt-get update && sudo apt-get install --no-install-recommends --no-install-suggests -y curl lcov python3 python3-distutils libsqlite3-0 libsqlite3-dev
./scripts/test.sh
- uses: actions/upload-artifact@v4
if: always()
if: ${{ !cancelled() }}
with:
name: coverage_without_olm
path: coverage_dir/
@ -65,7 +65,7 @@ jobs:
sudo apt-get update && sudo apt-get install --no-install-recommends --no-install-suggests -y curl lcov python3 python3-distutils libsqlite3-0 libsqlite3-dev libolm3 libssl3
./scripts/test.sh
- uses: actions/upload-artifact@v4
if: always()
if: ${{ !cancelled() }}
with:
name: coverage
path: coverage_dir/
@ -73,7 +73,7 @@ jobs:
merge_converage:
if: always()
if: ${{ !cancelled() }}
runs-on: ubuntu-latest
needs: [coverage, coverage_without_olm]
steps: