benchmark-action / benchmark-action/github-action-benchmark
Error: Cannot read properties of undefined (reading 'Benchmark')
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 184
- PR merge metrics
- No merged PRs in 30d
Description
I am using a self-hosted runner which runs Windows 10 x64 with all the latest updates for itself and the runner.
I'm not sure why exactly but I keep getting this error,

Can any one help me? YAML Below;
``` yaml
# Calls for run of BenchmarkDotNet project and sets bench_output / bench_cache
- name: Run benchmark
id: benchrun
run: .\scripts\RunBench.ps1
shell: powershell
# Download previous benchmark result from cache (if exists)
- name: Download previous benchmark data
uses: actions/cache@v1
with:
path: ./cache
key: ${{ runner.os }}-benchmark
# Run `github-action-benchmark` action
- name: Store benchmark result
uses: rhysd/github-action-benchmark@v1
with:
# What benchmark tool the output.txt came from
tool: 'benchmarkdotnet'
# Where the output from the benchmark tool is stored
output-file-path: ${{ steps.benchrun.outputs.bench_output }}
# Where the previous data file is stored
external-data-json-path: ${{ steps.benchrun.outputs.bench_cache }}
# Workflow will fail when an alert happens
fail-on-alert: true
alert-threshold: "150%"
# auto-push: true
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-on-alert: true
```
Contributor guide
Assessment
This issue has not been assessed yet.