From 66cd80ef49b5b397669ef0243db1897d5020c7b4 Mon Sep 17 00:00:00 2001 From: Allan Jeremy Date: Wed, 25 May 2022 11:06:19 +0300 Subject: [PATCH] Debug WIP: Updated checkout path --- .github/workflows/benchmark-cachegrind.yml | 9 ++++++--- .github/workflows/benchmark.yml | 8 ++++++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/benchmark-cachegrind.yml b/.github/workflows/benchmark-cachegrind.yml index fbcea003..1aa77e11 100644 --- a/.github/workflows/benchmark-cachegrind.yml +++ b/.github/workflows/benchmark-cachegrind.yml @@ -56,8 +56,8 @@ jobs: - name: Run ${{ matrix.bench.title }} (Warm Cachegrind) run: sudo bash ./scripts/run-with-cachegrind.sh python ./bench/bench.py "${{ matrix.bench.cachegrindTitle }}" ${{ matrix.bench.cachegrindIterCount }} | tee -a ${{ matrix.bench.script }}-output.txt - - name: Navigate to root dir, create gh-pages dir then navigate into it - run: cd .. && mkdir gh-pages && cd gh-pages && pwd + - name: Navigate to root dir then create gh-pages directory + run: cd .. && mkdir gh-pages - name: Switch to & checkout benchmark results (gh-pages) repo uses: actions/checkout@v3 @@ -65,7 +65,10 @@ jobs: repository: AllanJeremy/luau-benchmark-results ref: "main" token: "${{ secrets.BENCH_GITHUB_TOKEN }}" - path: "." + path: "./gh-pages" + + - name: Navigate into gh-pages directory + run: cd gh-pages - name: Checkout benchmark results (gh-pages) run: | diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 21dc6510..667bf316 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -48,14 +48,15 @@ jobs: run: | python bench/bench.py | tee ../${{ matrix.bench.script }}-output.txt - - name: Navigate to root dir, create gh-pages dir then navigate into it - run: cd .. && mkdir gh-pages && cd gh-pages + - name: Navigate to root dir then create gh-pages directory + run: cd .. && mkdir gh-pages - name: Switch to & checkout benchmark results (gh-pages) repo uses: actions/checkout@v3 with: repository: AllanJeremy/luau-benchmark-results ref: "main" + path: "./gh-pages" - name: Checkout benchmark results (gh-pages) run: | @@ -65,6 +66,9 @@ jobs: git pull git status + - name: Navigate into gh-pages directory + run: cd gh-pages + - name: Navigate back to luau before checking out original repo run: cd ..