name: Maintenance jobs on: workflow_dispatch: inputs: job: description: Allowlisted maintenance job required: true type: choice options: - cv-benchmark jobs: cv-benchmark: if: inputs.job == 'cv-benchmark' runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: Setup .NET uses: actions/setup-dotnet@v4 with: dotnet-version: 9.0.317 - name: Run CV corpus benchmark env: CV_BENCHMARK_OUTPUT_DIR: ${{ github.workspace }}/tmp/cv-benchmarks/latest CV_BENCHMARK_APPROVED_DIR: ${{ github.workspace }}/tmp/cv-benchmarks/approved-fixtures run: | chmod +x scripts/run-cv-benchmark.sh scripts/run-cv-benchmark.sh test -s "$CV_BENCHMARK_OUTPUT_DIR/index.json" test -s "$CV_BENCHMARK_OUTPUT_DIR/report.md" - name: Retain benchmark report and fixture candidates uses: actions/upload-artifact@v4 with: name: cv-benchmark-${{ github.run_number }} path: tmp/cv-benchmarks if-no-files-found: error retention-days: 30