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:
|
inputs:
|
||||||
repository:
|
repository:
|
||||||
required: true
|
required: true
|
||||||
# type: string
|
type: string
|
||||||
description: The benchmark results repository to check out
|
description: The benchmark results repository to check out
|
||||||
|
shell:
|
||||||
|
type: string
|
||||||
|
default: "bash"
|
||||||
branch:
|
branch:
|
||||||
required: true
|
required: true
|
||||||
# type: string
|
type: string
|
||||||
description: The benchmark results repository's branch to check out
|
description: The benchmark results repository's branch to check out
|
||||||
token:
|
token:
|
||||||
required: true
|
required: true
|
||||||
# type: string
|
type: string
|
||||||
description: The GitHub token to use for pushing results
|
description: The GitHub token to use for pushing results
|
||||||
path:
|
path:
|
||||||
required: true
|
required: true
|
||||||
# type: string
|
type: string
|
||||||
description: The path to check out the results repository to
|
description: The path to check out the results repository to
|
||||||
bench_name:
|
bench_name:
|
||||||
required: true
|
required: true
|
||||||
# type: string
|
type: string
|
||||||
bench_tool:
|
bench_tool:
|
||||||
required: true
|
required: true
|
||||||
# type: string
|
type: string
|
||||||
bench_output_file_path:
|
bench_output_file_path:
|
||||||
required: true
|
required: true
|
||||||
# type: string
|
type: string
|
||||||
bench_external_data_json_path:
|
bench_external_data_json_path:
|
||||||
required: true
|
required: true
|
||||||
# type: string
|
type: string
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
# shell: bash
|
shell: ${{ inputs.shell }}
|
||||||
with:
|
with:
|
||||||
repository: ${{ inputs.repository }}
|
repository: ${{ inputs.repository }}
|
||||||
ref: ${{ inputs.branch }}
|
ref: ${{ inputs.branch }}
|
||||||
|
@ -44,7 +47,7 @@ runs:
|
||||||
|
|
||||||
- name: Store results
|
- name: Store results
|
||||||
uses: Roblox/rhysd-github-action-benchmark@v-luau
|
uses: Roblox/rhysd-github-action-benchmark@v-luau
|
||||||
# shell: bash
|
shell: ${{ inputs.shell }}
|
||||||
with:
|
with:
|
||||||
name: ${{ inputs.bench_name }}
|
name: ${{ inputs.bench_name }}
|
||||||
tool: ${{ inputs.bench_tool }}
|
tool: ${{ inputs.bench_tool }}
|
||||||
|
@ -52,7 +55,7 @@ runs:
|
||||||
external-data-json-path: ${{ inputs.bench_external_data_json_path }}
|
external-data-json-path: ${{ inputs.bench_external_data_json_path }}
|
||||||
|
|
||||||
- name: Push benchmark results
|
- name: Push benchmark results
|
||||||
# shell: bash
|
shell: ${{ inputs.shell }}
|
||||||
run: |
|
run: |
|
||||||
echo "Pushing benchmark results..."
|
echo "Pushing benchmark results..."
|
||||||
cd gh-pages
|
cd gh-pages
|
||||||
|
|
Loading…
Add table
Reference in a new issue