1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-09 10:22:46 +03:00

Fix coverage check

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2024-11-21 16:05:38 +00:00
parent 26248f85d5
commit 4b9a1bd53f

View File

@@ -44,7 +44,6 @@ jobs:
- name: 📥 Download artifact
uses: actions/download-artifact@v4
id: download
if: ${{ !inputs.sharded }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -53,7 +52,6 @@ jobs:
path: coverage
- name: 📥 Download sharded artifacts
uses: actions/download-artifact@v4
id: download
if: inputs.sharded
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -61,11 +59,12 @@ jobs:
pattern: coverage-*
path: coverage
merge-multiple: true
- name: Fail if failed to download files
if: steps.download.outputs.download-path == ''
- name: Check coverage artifact
run: |
echo "Failed to download coverage artifact"
exit 1
if [ ! -d coverage ]; then
echo "Coverage not found. Exiting with failure."
exit 1
fi
- id: extra_args
run: |