File tree 2 files changed +16
-2
lines changed
2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -38,13 +38,17 @@ jobs:
38
38
- name : Restore caches
39
39
id : restore-caches
40
40
uses : ./.github/actions/cache-restore
41
+ with :
42
+ repo-cache-dir : /Users/runner/repo-cache
43
+ go-mod-cache-dir : /Users/runner/go-mod-cache
44
+ yarn-cache-dir : /Users/runner/.cache/yarn/v6
41
45
42
46
- name : Build and Upload Artifacts
43
47
env :
44
48
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
45
49
DEVELOPER_DIR : /Library/Developer/CommandLineTools
46
50
GO_REPOSITORY_USE_HOST_CACHE : 1
47
- GOMODCACHE : $HOME /go-mod-cache
51
+ GOMODCACHE : /Users/runner /go-mod-cache
48
52
run : |
49
53
bazelisk build \
50
54
--config=release-mac \
61
65
uses : ./.github/actions/cache-save
62
66
if : always()
63
67
with :
68
+ repo-cache-dir : /Users/runner/repo-cache
69
+ go-mod-cache-dir : /Users/runner/go-mod-cache
70
+ yarn-cache-dir : /Users/runner/.cache/yarn/v6
64
71
repo-cache-hit : ${{ steps.restore-caches.outputs.repo-cache-hit }}
65
72
go-mod-cache-hit : ${{ steps.restore-caches.outputs.go-mod-cache-hit }}
66
73
yarn-cache-hit : ${{ steps.restore-caches.outputs.yarn-cache-hit }}
Original file line number Diff line number Diff line change @@ -49,13 +49,17 @@ jobs:
49
49
- name : Restore caches
50
50
id : restore-caches
51
51
uses : ./.github/actions/cache-restore
52
+ with :
53
+ repo-cache-dir : /Users/runner/repo-cache
54
+ go-mod-cache-dir : /Users/runner/go-mod-cache
55
+ yarn-cache-dir : /Users/runner/.cache/yarn/v6
52
56
53
57
- name : Build and Upload Artifacts
54
58
env :
55
59
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
56
60
DEVELOPER_DIR : /Library/Developer/CommandLineTools
57
61
GO_REPOSITORY_USE_HOST_CACHE : 1
58
- GOMODCACHE : $HOME /go-mod-cache
62
+ GOMODCACHE : /Users/runner /go-mod-cache
59
63
run : |
60
64
bazelisk build --config=release-m1 --remote_header=x-buildbuddy-api-key=${{ secrets.BUILDBUDDY_ORG_API_KEY }} //enterprise/server/cmd/executor:executor
61
65
cp bazel-bin/enterprise/server/cmd/**/**/executor executor-enterprise-darwin-arm64
65
69
uses : ./.github/actions/cache-save
66
70
if : always()
67
71
with :
72
+ repo-cache-dir : /Users/runner/repo-cache
73
+ go-mod-cache-dir : /Users/runner/go-mod-cache
74
+ yarn-cache-dir : /Users/runner/.cache/yarn/v6
68
75
repo-cache-hit : ${{ steps.restore-caches.outputs.repo-cache-hit }}
69
76
go-mod-cache-hit : ${{ steps.restore-caches.outputs.go-mod-cache-hit }}
70
77
yarn-cache-hit : ${{ steps.restore-caches.outputs.yarn-cache-hit }}
You can’t perform that action at this time.
0 commit comments