Skip to content

Commit 591eb51

Browse files
committed
Install hcl2json
Signed-off-by: Roman Schwarz <rs@cloudeteer.de>
1 parent 6c9721e commit 591eb51

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

assets/install_github_actions_runner.sh.tftpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ RUNNER_VERSION=${runner_version}
4949
# shellcheck disable=SC2154
5050
RUNNER_USER=${runner_user}
5151

52+
# Install hcl2json
53+
curl -L -o hcl2json "https://github.com/tmccombs/hcl2json/releases/latest/download/hcl2json_linux_$RUNNER_ARCH"
54+
install -m 0755 hcl2json /usr/local/bin/hcl2json
55+
5256
# Get the latest version
5357
if [ "$RUNNER_VERSION" = "latest" ]; then
5458
RUNNER_VERSION=$(curl -sS -L \

0 commit comments

Comments
 (0)