We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 54ffc06 + ad140aa commit 9d3212bCopy full SHA for 9d3212b
pkg/helpers/gha.go
@@ -5,7 +5,12 @@ import "os"
5
// If the CLI is running inside a Depot GitHub Actions runner, restore the original
6
// GitHub Actions cache URL so that the remote BuildKit doesn't attempt to use the internal cache.
7
func FixGitHubActionsCacheEnv() {
8
- original := os.Getenv("GACTIONSCACHE_URL")
+ original := os.Getenv("UPSTREAM_ACTIONS_CACHE_URL")
9
+
10
+ if original == "" {
11
+ original = os.Getenv("GACTIONSCACHE_URL")
12
+ }
13
14
if original != "" {
15
os.Setenv("ACTIONS_CACHE_URL", original)
16
}
0 commit comments