Allow to use existing AWS credentials even on RunsOn, by setting RUNS_ON_RUNNER_NAME=""

This commit is contained in:
Cyril Rohr 2024-05-21 16:52:36 +00:00
parent c416bffd71
commit cf6e7f2371
2 changed files with 2 additions and 1 deletions

View file

@ -42,5 +42,6 @@ Be aware of S3 transfer costs if your runners are not in the same AWS region as
## Special environment variables
* `RUNS_ON_S3_BUCKET_CACHE`: if set, the action will use this bucket to store the cache.
* `RUNS_ON_RUNNER_NAME`: if set to `""` and running from RunsOn, the action will not ignore AWS credentials from the environment, if any.
* `RUNS_ON_S3_FORCE_PATH_STYLE` or `AWS_S3_FORCE_PATH_STYLE`: if one of those environment variables equals the string `"true"`, then the S3 client will be configured to force the path style.