diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 786b29cfc5dcc..f8d2ab0b5a916 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -536,7 +536,7 @@ jobs: steps: - uses: actions/checkout@v3 - run: | - status="${{ (contains(needs.*.result, 'failed') && 'failed') || (contains(needs.*.result, 'cancelled') && 'cancelled') || 'success' }}" + status="${{ (contains(needs.*.result, 'failure') && 'failure') || (contains(needs.*.result, 'cancelled') && 'cancelled') || 'success' }}" jq -n -f .github/release-report.jq \ --arg title "[Release] ${{ needs.create_release.outputs.version }}" \ --arg content "Build result: ${status}" \ diff --git a/.github/workflows/trusted-benchmark.yml b/.github/workflows/trusted-benchmark.yml index 6135830a48d81..dc7d325de40d4 100644 --- a/.github/workflows/trusted-benchmark.yml +++ b/.github/workflows/trusted-benchmark.yml @@ -17,13 +17,14 @@ env: jobs: metadata: if: github.event.workflow_run.conclusion == 'success' - runs-on: ubuntu-latest + runs-on: [self-hosted, X64, Linux, dev] outputs: sha: ${{ steps.metadata.outputs.sha }} run_id: ${{ steps.metadata.outputs.run_id }} source: ${{ steps.metadata.outputs.source }} source_id: ${{ steps.metadata.outputs.source_id }} steps: + - uses: actions/checkout@v3 - name: Download benchmark metadata id: metadata env: @@ -233,7 +234,6 @@ jobs: - name: Generate report working-directory: benchmark/clickbench run: | - # aws s3 sync "${{ env.BENCHMARK_S3_PREFIX }}/release/${{ matrix.dataset }}/$(date -u +%Y)/$(date -u +%m)/" ./results/${{ matrix.dataset }}/ ./update-results.sh ${{ matrix.dataset }} - name: Upload PR clickbench report to repo.databend.rs working-directory: benchmark/clickbench