Merge pull request #1859 from famedly/td/notCancelled

chore: use not cancelled in actions instead of always
This commit is contained in:
td 2024-06-22 07:32:23 +05:30 committed by GitHub
commit 4af9ea38f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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: