Skip to content

Commit f19c983

Browse files
authored
Merge pull request #10516 from everpcpc/feat-bench
chore(ci): checkout before download artifacts
2 parents 32f0eda + fba259a commit f19c983

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ jobs:
536536
steps:
537537
- uses: actions/checkout@v3
538538
- run: |
539-
status="${{ (contains(needs.*.result, 'failed') && 'failed') || (contains(needs.*.result, 'cancelled') && 'cancelled') || 'success' }}"
539+
status="${{ (contains(needs.*.result, 'failure') && 'failure') || (contains(needs.*.result, 'cancelled') && 'cancelled') || 'success' }}"
540540
jq -n -f .github/release-report.jq \
541541
--arg title "[Release] ${{ needs.create_release.outputs.version }}" \
542542
--arg content "Build result: ${status}" \

.github/workflows/trusted-benchmark.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@ env:
1717
jobs:
1818
metadata:
1919
if: github.event.workflow_run.conclusion == 'success'
20-
runs-on: ubuntu-latest
20+
runs-on: [self-hosted, X64, Linux, dev]
2121
outputs:
2222
sha: ${{ steps.metadata.outputs.sha }}
2323
run_id: ${{ steps.metadata.outputs.run_id }}
2424
source: ${{ steps.metadata.outputs.source }}
2525
source_id: ${{ steps.metadata.outputs.source_id }}
2626
steps:
27+
- uses: actions/checkout@v3
2728
- name: Download benchmark metadata
2829
id: metadata
2930
env:
@@ -233,7 +234,6 @@ jobs:
233234
- name: Generate report
234235
working-directory: benchmark/clickbench
235236
run: |
236-
# aws s3 sync "${{ env.BENCHMARK_S3_PREFIX }}/release/${{ matrix.dataset }}/$(date -u +%Y)/$(date -u +%m)/" ./results/${{ matrix.dataset }}/
237237
./update-results.sh ${{ matrix.dataset }}
238238
- name: Upload PR clickbench report to repo.databend.rs
239239
working-directory: benchmark/clickbench

0 commit comments

Comments
 (0)