Skip to content

The only tool you need to know what is happening and how to fix it.

fix attempt 1 for benchmarks

ddux965471f30a58
diff --git a/.github/workflows/benchmark-hardware.yml b/.github/workflows/benchmark-hardware.yml
index dff51bb9..6ac79440 100644
--- a/.github/workflows/benchmark-hardware.yml
+++ b/.github/workflows/benchmark-hardware.yml
@@ -58,7 +58,6 @@ jobs:
matrix: ${{ fromJson(needs.setup.outputs.matrix) }}
env:
HCLOUD_TOKEN: ${{ secrets.HCLOUD_TOKEN }}
- BENCHMARK_SSH_KEY: ${{ runner.temp }}/benchmark-key
BENCH_LOCATION: ${{ github.event.inputs.location }}
steps:
- uses: actions/checkout@v4
@@ -74,7 +73,9 @@ jobs:
- name: Materialize SSH key
run: |
umask 077
- printf '%s\n' "${{ secrets.BENCHMARK_SSH_PRIVATE_KEY }}" > "${BENCHMARK_SSH_KEY}"
+ key="$RUNNER_TEMP/benchmark-key"
+ printf '%s\n' "${{ secrets.BENCHMARK_SSH_PRIVATE_KEY }}" > "$key"
+ echo "BENCHMARK_SSH_KEY=$key" >> "$GITHUB_ENV"
- uses: actions/setup-go@v5
with: