Cleanup: Updated messages & removed unnecessary BENCH_GITHUB_TOKEN references in actions/checkout

This commit is contained in:
Allan Jeremy 2022-05-25 17:20:11 +03:00
parent 0170493a1f
commit bfa85f8b8c
2 changed files with 5 additions and 6 deletions

View file

@ -30,9 +30,8 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v3 - name: Checkout Luau
with: uses: actions/checkout@v3
token: "${{ secrets.BENCH_GITHUB_TOKEN }}"
- name: Build Luau - name: Build Luau
run: make config=release luau luau-analyze run: make config=release luau luau-analyze
@ -62,7 +61,6 @@ jobs:
with: with:
repository: ${{ matrix.benchmarkResultsRepo.name }} repository: ${{ matrix.benchmarkResultsRepo.name }}
ref: ${{ matrix.benchmarkResultsRepo.branch }} ref: ${{ matrix.benchmarkResultsRepo.branch }}
token: "${{ secrets.BENCH_GITHUB_TOKEN }}"
path: "./gh-pages" path: "./gh-pages"
#Run `github-action-benchmark` action #Run `github-action-benchmark` action

View file

@ -30,7 +30,8 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v3 - name: Checkout Luau repository
uses: actions/checkout@v3
- name: Build Luau - name: Build Luau
run: make config=release luau luau-analyze run: make config=release luau luau-analyze
@ -49,7 +50,7 @@ jobs:
run: | run: |
python bench/bench.py | tee ${{ matrix.bench.script }}-output.txt python bench/bench.py | tee ${{ matrix.bench.script }}-output.txt
- name: Switch to & checkout benchmark results (gh-pages) repo - name: Checkout Benchmark Results repository
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
repository: ${{ matrix.benchmarkResultsRepo.name }} repository: ${{ matrix.benchmarkResultsRepo.name }}