ci: move branch name to env var (#104633)

* ci: move branch name to env var

* quoting
This commit is contained in:
Sven Grossmann
2025-04-28 14:11:49 +01:00
committed by GitHub
parent a8ea72012b
commit ab25b911ac
2 changed files with 6 additions and 3 deletions
@@ -36,9 +36,10 @@ runs:
shell: bash
env:
GH_TOKEN: ${{ steps.generate_token.outputs.token }}
BRANCH: ${{ inputs.branch }}
run: |
git clone https://x-access-token:${GH_TOKEN}@github.com/grafana/grafana-bench.git ../grafana-bench
cd ../grafana-bench
git switch ${{ inputs.branch }}
git switch "$BRANCH"
go install .