diff --git a/.github/workflows/benchmark-cachegrind.yml b/.github/workflows/benchmark-cachegrind.yml index 1a48d6cf..3e81cc44 100644 --- a/.github/workflows/benchmark-cachegrind.yml +++ b/.github/workflows/benchmark-cachegrind.yml @@ -26,6 +26,7 @@ jobs: cachegrindTitle: "Performance", cachegrindIterCount: 20, } + benchResultsRepo: [{ name: "luau-lang/benchmark-data", branch: "main" }] runs-on: ${{ matrix.os }} steps: @@ -59,8 +60,8 @@ jobs: - name: Switch to & checkout benchmark results (gh-pages) repo uses: actions/checkout@v3 with: - repository: AllanJeremy/luau-benchmark-results - ref: "main" + repository: ${{ matrix.benchmarkResultsRepo.name }} + ref: ${{ matrix.benchmarkResultsRepo.branch }} token: "${{ secrets.BENCH_GITHUB_TOKEN }}" path: "./gh-pages" diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index f397160e..59571779 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -26,6 +26,7 @@ jobs: cachegrindTitle: "Performance", cachegrindIterCount: 20, } + benchResultsRepo: [{ name: "luau-lang/benchmark-data", branch: "main" }] runs-on: ${{ matrix.os }} steps: @@ -51,8 +52,8 @@ jobs: - name: Switch to & checkout benchmark results (gh-pages) repo uses: actions/checkout@v3 with: - repository: AllanJeremy/luau-benchmark-results - ref: "main" + repository: ${{ matrix.benchmarkResultsRepo.name }} + ref: ${{ matrix.benchmarkResultsRepo.branch }} path: "./gh-pages" #Run `github-action-benchmark` action