Debug WIP: Updated checkout path

This commit is contained in:
Allan Jeremy 2022-05-25 11:06:19 +03:00
parent abe5626fcb
commit 66cd80ef49
2 changed files with 12 additions and 5 deletions

View file

@ -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: |

View file

@ -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 ..