mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
debug wip: update shell
This commit is contained in:
parent
d229ab2f09
commit
b656e1be6f
1 changed files with 14 additions and 11 deletions
25
.github/workflows/push-results/action.yml
vendored
25
.github/workflows/push-results/action.yml
vendored
|
@ -3,39 +3,42 @@ description: Checkout a given repo and push results to GitHub
|
|||
inputs:
|
||||
repository:
|
||||
required: true
|
||||
# type: string
|
||||
type: string
|
||||
description: The benchmark results repository to check out
|
||||
shell:
|
||||
type: string
|
||||
default: "bash"
|
||||
branch:
|
||||
required: true
|
||||
# type: string
|
||||
type: string
|
||||
description: The benchmark results repository's branch to check out
|
||||
token:
|
||||
required: true
|
||||
# type: string
|
||||
type: string
|
||||
description: The GitHub token to use for pushing results
|
||||
path:
|
||||
required: true
|
||||
# type: string
|
||||
type: string
|
||||
description: The path to check out the results repository to
|
||||
bench_name:
|
||||
required: true
|
||||
# type: string
|
||||
type: string
|
||||
bench_tool:
|
||||
required: true
|
||||
# type: string
|
||||
type: string
|
||||
bench_output_file_path:
|
||||
required: true
|
||||
# type: string
|
||||
type: string
|
||||
bench_external_data_json_path:
|
||||
required: true
|
||||
# type: string
|
||||
type: string
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
# shell: bash
|
||||
shell: ${{ inputs.shell }}
|
||||
with:
|
||||
repository: ${{ inputs.repository }}
|
||||
ref: ${{ inputs.branch }}
|
||||
|
@ -44,7 +47,7 @@ runs:
|
|||
|
||||
- name: Store results
|
||||
uses: Roblox/rhysd-github-action-benchmark@v-luau
|
||||
# shell: bash
|
||||
shell: ${{ inputs.shell }}
|
||||
with:
|
||||
name: ${{ inputs.bench_name }}
|
||||
tool: ${{ inputs.bench_tool }}
|
||||
|
@ -52,7 +55,7 @@ runs:
|
|||
external-data-json-path: ${{ inputs.bench_external_data_json_path }}
|
||||
|
||||
- name: Push benchmark results
|
||||
# shell: bash
|
||||
shell: ${{ inputs.shell }}
|
||||
run: |
|
||||
echo "Pushing benchmark results..."
|
||||
cd gh-pages
|
||||
|
|
Loading…
Add table
Reference in a new issue