Skip to content

Commit

Permalink
Use run id instead of hash
Browse files Browse the repository at this point in the history
  • Loading branch information
chanhosuh committed Jul 27, 2023
1 parent 72f9a94 commit a8b52c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Download comparison results
uses: actions/download-artifact@v3
with:
name: test-data-${{ github.event.workflow_run.base_sha }}
name: test-data-${{ github.event.workflow_run.id }}
path: test/data/

- name: End-to-end tests
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
- name: Download comparison results
uses: actions/download-artifact@v3
with:
name: test-data-${{ github.event.workflow_run.base_sha }}
name: test-data-${{ github.event.workflow_run.id }}
path: test/data/

- name: End-to-end tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/CI_generate_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ jobs:
- name: Upload test data
uses: actions/upload-artifact@v3
with:
name: test-data-${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }}
name: test-data-${{ github.run_id }}
path: test/data/

0 comments on commit a8b52c5

Please sign in to comment.