File tree Expand file tree Collapse file tree
actions/unblock_user_namespace_for_linux_sandbox Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -35,22 +35,11 @@ jobs:
3535 - name : Create config indicator file
3636 run : echo "${{ matrix.bazel-config }}" > .bazel_config
3737 - name : Setup Bazel
38- uses : bazel-contrib/ setup-bazel@0.19.0
38+ uses : eclipse-score/cicd-actions/ setup-bazel-cache@659dcbed63f6b7fbde88c7850125ea0a0a92f939
3939 with :
40- output-base : /mnt/.bazel
41- # Avoid downloading Bazel every time.
42- bazelisk-cache : true
43- # Store build cache per workflow.
44- disk-cache : ${{ github.workflow }}-${{ matrix.bazel-config }}
45- # Share repository cache between workflows.
46- repository-cache : |
47- - ./MODULE.bazel
48- - ./.bazel_config
49- # Cache external/
50- external-cache : true
51- cache-save : ${{ github.event_name == 'push' }}
40+ unique-cache-name : ${{ github.workflow }}-${{ github.job }}-${{ matrix.bazel-config }}
5241 - name : Allow linux-sandbox
53- uses : ./.github/ actions/unblock_user_namespace_for_linux_sandbox
42+ uses : eclipse-score/cicd- actions/unblock-user-namespace-for-linux-sandbox@659dcbed63f6b7fbde88c7850125ea0a0a92f939
5443 - run : df -h
5544 - name : Bazel build targets
5645 # TODO: build all targets ( //... ) once python toolchain issue is resolved.
Original file line number Diff line number Diff line change @@ -31,22 +31,11 @@ jobs:
3131 - name : Create config indicator file
3232 run : echo "host" > .bazel_config
3333 - name : Setup Bazel
34- uses : bazel-contrib/ setup-bazel@0.19.0
34+ uses : eclipse-score/cicd-actions/ setup-bazel-cache@659dcbed63f6b7fbde88c7850125ea0a0a92f939
3535 with :
36- output-base : /mnt/.bazel
37- # Avoid downloading Bazel every time.
38- bazelisk-cache : true
39- # Store build cache per workflow.
40- disk-cache : ${{ github.workflow }}
41- # Share repository cache between workflows.
42- repository-cache : |
43- - ./MODULE.bazel
44- - ./.bazel_config
45- # Cache external/
46- external-cache : true
47- cache-save : ${{ github.event_name == 'push' }}
36+ unique-cache-name : ${{ github.workflow }}-${{ github.job }}
4837 - name : Allow linux-sandbox
49- uses : ./.github/ actions/unblock_user_namespace_for_linux_sandbox
38+ uses : eclipse-score/cicd- actions/unblock-user-namespace-for-linux-sandbox@659dcbed63f6b7fbde88c7850125ea0a0a92f939
5039 - run : df -h
5140 - name : Bazel build targets
5241 run : |
Original file line number Diff line number Diff line change 4242 sudo mkdir -p /mnt/.bazel
4343 sudo chown -R $USER:$USER /mnt/.bazel
4444 - name : Setup Bazel
45- uses : bazel-contrib/ setup-bazel@0.19.0
45+ uses : eclipse-score/cicd-actions/ setup-bazel-cache@659dcbed63f6b7fbde88c7850125ea0a0a92f939
4646 with :
47- output-base : /mnt/.bazel
48- # Avoid downloading Bazel every time.
49- bazelisk-cache : true
50- # Share repository cache between workflows.
51- repository-cache : true
52- # Cache external/
53- external-cache : true
54- cache-save : false
47+ unique-cache-name : ${{ github.workflow }}-${{ github.job }}
5548 - name : Allow linux-sandbox
56- uses : ./.github/ actions/unblock_user_namespace_for_linux_sandbox
49+ uses : eclipse-score/cicd- actions/unblock-user-namespace-for-linux-sandbox@659dcbed63f6b7fbde88c7850125ea0a0a92f939
You can’t perform that action at this time.
0 commit comments