Skip to content

Commit

Permalink
Remove condition from execution and publish steps
Browse files Browse the repository at this point in the history
  • Loading branch information
JonatanAntoni committed Apr 8, 2024
1 parent 89b7df6 commit c36fdb1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/cmsis_rv2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ jobs:
./build.py --verbose -r FreeRTOS -c ${{ matrix.compiler }} build || echo "::warning::=== Some configurations failed to build! ==="
- name: Execute
if: ${{ env.ARM_UBL_ACTIVATION_CODE }}
working-directory: ./CMSIS-RTOS2_Validation/Project
run: |
echo "Run test projects ..."
Expand All @@ -122,7 +121,7 @@ jobs:
fi
- name: Upload Test Reports
if: ${{ !cancelled() && env.ARM_UBL_ACTIVATION_CODE }}
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v4
with:
name: test-results-${{ matrix.compiler }}
Expand All @@ -139,13 +138,12 @@ jobs:

steps:
- name: Download Test Reports
if: ${{ env.ARM_UBL_ACTIVATION_CODE }}
uses: actions/download-artifact@v4
with:
path: artifacts

- name: Publish Test Results
if: ${{ env.ARM_UBL_ACTIVATION_CODE && env.GITHUB_TOKEN }}
if: ${{ env.GITHUB_TOKEN }}
uses: EnricoMi/publish-unit-test-result-action@v2
with:
commit: ${{ github.event.workflow_run.head_sha }}
Expand Down

0 comments on commit c36fdb1

Please sign in to comment.