mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Debug WIP: Updated checkout path
This commit is contained in:
parent
abe5626fcb
commit
66cd80ef49
2 changed files with 12 additions and 5 deletions
9
.github/workflows/benchmark-cachegrind.yml
vendored
9
.github/workflows/benchmark-cachegrind.yml
vendored
|
@ -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: |
|
||||
|
|
8
.github/workflows/benchmark.yml
vendored
8
.github/workflows/benchmark.yml
vendored
|
@ -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 ..
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue