Skip to content

Commit

Permalink
Use github.run_id, not .run_number, for CI uploads to GCS
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed May 4, 2021
1 parent 7586389 commit c92baa3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,14 @@ jobs:
if: env.pr_from_main_repo && matrix.run-diagnostics
run: |
item historical diagnostics output/
rclone --progress copy output ${{ env.gcs_bucket }}${{ github.run_number }}/
rclone --progress copy output ${{ env.gcs_bucket }}${{ github.run_id }}/
- uses: LouisBrunner/[email protected]
if: env.pr_from_main_repo && matrix.run-diagnostics
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: Upload historical database & diagnostics
conclusion: success
details_url: ${{ env.gcs_url }}${{ github.run_number }}/index.html
details_url: ${{ env.gcs_url }}${{ github.run_id }}/index.html
output: |
{"summary": "${{ env.gcs_url }}${{ github.run_number }}/index.html"}
{"summary": "${{ env.gcs_url }}${{ github.run_id }}/index.html"}

0 comments on commit c92baa3

Please sign in to comment.