We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4051b37 commit afc97bbCopy full SHA for afc97bb
1 file changed
modules/runner-binaries-syncer/main.tf
@@ -1,5 +1,11 @@
1
locals {
2
- action_runner_distribution_object_key = "actions-runner-${var.runner_os}.${var.runner_os == "windows" ? "zip" : "tar.gz"}"
+ action_runner_distribution_extensions = {
3
+ linux = "tar.gz"
4
+ osx = "tar.gz"
5
+ windows = "zip"
6
+ }
7
+
8
+ action_runner_distribution_object_key = "actions-runner-${var.runner_os}.${local.action_runner_distribution_extensions[var.runner_os]}"
9
}
10
11
resource "aws_s3_bucket" "action_dist" {
0 commit comments