Skip to content

Commit

Permalink
gha: build: use run_attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop authored Dec 6, 2023
1 parent f691c4d commit a299934
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -338,11 +338,11 @@ jobs:
shell: bash
run: |
./scripts/ci/gen_html.sh
mv html/index.html html/run_${{ github.run_id }}.html
mv html/index.html html/run_${{ github.run_id }}_${{ github.run_attempt }}.html
- name: copy to the frontpage
if: ${{ github.event_name == 'schedule' }}
run: cp html/run_${{ github.run_id }}.html html/index.html
run: cp html/run_${{ github.run_id }}_${{ github.run_attempt }}.html html/index.html

- name: post comment
env:
Expand Down

0 comments on commit a299934

Please sign in to comment.