diff --git a/.github/ISSUE_TEMPLATE/daily_failure.md b/.github/ISSUE_TEMPLATE/daily_failure.md index e607cfc4a7..42c231b170 100644 --- a/.github/ISSUE_TEMPLATE/daily_failure.md +++ b/.github/ISSUE_TEMPLATE/daily_failure.md @@ -12,6 +12,4 @@ Comparing VM execution against Native produced diffs: The transaction were not compared in order. You should rerun the whole failing block to find the error root -``` -{{ env.OUTPUT }} -``` +- State Diffs Comparison: {{ env.COMPARISON_RESULT }} diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 97e2040e6c..a6f7b33b0c 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -184,19 +184,20 @@ jobs: run: | ./scripts/cmp_state_dumps.sh | tee output + - name: Upload Compare Results + uses: actions/upload-artifact@v4 + if: ${{ always() }} + with: + name: output-result + path: output + - name: Prepare env vars if: ${{ always() }} run: | # Save workflow url REPO_URL="${{ github.server_url }}/${{ github.repository }}" echo "WORKFLOW_URL=$REPO_URL/actions/runs/${{ github.run_id }}" | tee -a $GITHUB_ENV - - # Save output - { - echo 'OUTPUT<> "$GITHUB_ENV" + echo "COMPARISON_RESULT=$REPO_URL/actions/runs/${{ github.run_id }}/artifacts/${{ steps.upload_compare_results.outputs.artifact-id }}" | tee -a $GITHUB_ENV - name: Create Issue if: ${{ failure() }}