Debug WIP: Creating gh-pages in runner default directory

This commit is contained in:
Allan Jeremy 2022-05-25 11:48:13 +03:00
parent 768757bbb5
commit aafb47ab1a

View file

@ -57,7 +57,7 @@ jobs:
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 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 then create gh-pages directory - name: Navigate to root dir then create gh-pages directory
run: cd .. && mkdir gh-pages run: mkdir gh-pages
- name: Switch to & checkout benchmark results (gh-pages) repo - name: Switch to & checkout benchmark results (gh-pages) repo
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -65,7 +65,7 @@ jobs:
repository: AllanJeremy/luau-benchmark-results repository: AllanJeremy/luau-benchmark-results
ref: "main" ref: "main"
token: "${{ secrets.BENCH_GITHUB_TOKEN }}" token: "${{ secrets.BENCH_GITHUB_TOKEN }}"
path: "../gh-pages" path: "./gh-pages"
- name: Navigate into gh-pages directory - name: Navigate into gh-pages directory
run: cd gh-pages run: cd gh-pages
@ -78,9 +78,6 @@ jobs:
git pull git pull
git status git status
- name: Navigate back to luau before checking out original repo
run: cd ..
#Run `github-action-benchmark` action #Run `github-action-benchmark` action
- name: Store ${{ matrix.bench.title }} result - name: Store ${{ matrix.bench.title }} result
uses: Roblox/rhysd-github-action-benchmark@v-luau uses: Roblox/rhysd-github-action-benchmark@v-luau