diff --git a/.github/workflows/verify-ec2.yml b/.github/workflows/verify-ec2.yml index 4ff690cb..0ee2bcf8 100644 --- a/.github/workflows/verify-ec2.yml +++ b/.github/workflows/verify-ec2.yml @@ -82,7 +82,13 @@ jobs: with: name: ${{ github.workflow }}-${{ env.COMMIT_SHORT_SHA }}-results path: spec/results/ - name: artifact-${{ matrix.suite }} + + - name: Upload ${{ matrix.suite }} to Heimdall + if: ${{ !contains(steps.commit.outputs.message, 'only-validate-profile') }} + continue-on-error: true + run: | + curl -# -s -F data=@spec/results/${{ env.PLATFORM }}_${{ matrix.suite }}.json -F "filename=${{ env.COMMIT_SHORT_SHA }}-${{ env.PLATFORM }}_${{ matrix.suite }}" -F "public=true" -F "evaluationTags=${{ env.COMMIT_SHORT_SHA }},${{ github.repository }},${{ github.workflow }}" -H "Authorization: Api-Key ${{ secrets.HEIMDALL_UPLOAD_GROUP_KEY }}" "${{ vars.SAF_HEIMDALL_URL }}/evaluations" + - name: Display our ${{ matrix.suite }} results summary if: ${{ !contains(steps.commit.outputs.message, 'only-validate-profile') }} uses: mitre/saf_action@v1.5.0