From 0946952d5811b12bb7674c990a22eca137dfa57e Mon Sep 17 00:00:00 2001 From: Allan Jeremy Date: Thu, 19 May 2022 15:08:19 +0300 Subject: [PATCH] Attempting to use different directories for checkout of luau repos --- .github/workflows/benchmark.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 84f158fc..a67850f0 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -48,6 +48,9 @@ jobs: - name: Run benchmark run: python bench/bench.py | tee ${{ matrix.bench.script }}-output.txt + - name: Cd 1 level up and create gh-pages dir then cd into it + run: cd .. && mkdir gh-pages && cd gh-pages + - name: Switch to & checkout gh-pages repo uses: actions/checkout@v3 with: @@ -62,6 +65,14 @@ jobs: git pull git status + - name: Cd back to root before checking out original repo + run: cd .. + + - name: Switch to original luau repo + uses: actions/checkout@v3 + with: + repository: ${{ github.repository }} + #Run `github-action-benchmark` action - name: Store ${{ matrix.bench.title }} result uses: Roblox/rhysd-github-action-benchmark@v-luau