Skip to content

Commit

Permalink
Fixed github.head_ref
Browse files Browse the repository at this point in the history
  • Loading branch information
leventeBajczi committed Nov 12, 2023
1 parent 110da78 commit 9342b6e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/actions/benchexec-report/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ runs:
[ $incorrect -eq 0 ] || emoji=":exclamation:"
echo "<details><summary> $emoji ${i#BenchexecResults-} ($correct / $incorrect / $all)</summary>" >> $GITHUB_OUTPUT
echo >> $GITHUB_OUTPUT
echo '`table-generator`'" output: [HTML](https://theta.mit.bme.hu/benchmark-results/${{ github.ref_name }}/$i/$(ls *.html))/[CSV](https://theta.mit.bme.hu/benchmark-results/${{ github.ref_name }}/$i/$(ls *.csv))"
echo '`table-generator`'" output: [HTML](https://theta.mit.bme.hu/benchmark-results/${{ github.head_ref }}/$i/$(ls *.html))/[CSV](https://theta.mit.bme.hu/benchmark-results/$${{ github.head_ref }}/$i/$(ls *.csv))" >> $GITHUB_OUTPUT
echo >> $GITHUB_OUTPUT
echo '```' >> $GITHUB_OUTPUT
cat *.txt >> $GITHUB_OUTPUT
Expand All @@ -58,11 +58,12 @@ runs:
name: BenchexecResults
path: artifacts
- name: Deploy to GHPages
if: github.event_name == 'pull_request'
uses: JamesIves/github-pages-deploy-action@22a6ee251d6f13c6ab1ecb200d974f1a6feb1b8d # v4.4.2
with:
branch: gh-pages
folder: artifacts
target-folder: benchmark-results/${{ github.ref_name }}/
target-folder: benchmark-results/${{ github.head_ref }}/
single-commit: true
- name: Comment on PR
if: github.event_name == 'pull_request'
Expand Down

0 comments on commit 9342b6e

Please sign in to comment.