Skip to content

Commit f23e268

Browse files
fix
1 parent 99bd4c7 commit f23e268

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,6 @@
7676
uses: docker/setup-buildx-action@v2.0.0
7777
with:
7878
install: true
79-
- name: Configure sccache
80-
uses: actions/github-script@v6
81-
with:
82-
script: |
83-
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
84-
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
8579
- name: Inject slug/short variables
8680
uses: rlespinasse/github-slug-action@v4.4.1
8781
- name: Tailscale
@@ -226,7 +220,7 @@
226220
push: ${{ github.event_name != 'pull_request' }}
227221
platforms: 'linux/amd64'
228222
build-args: |
229-
SCCACHE_GHA_ENABLED="true"
223+
SCCACHE_GHA_ENABLED=on
230224
ACTIONS_CACHE_URL=${{ env.ACTIONS_CACHE_URL }}
231225
ACTIONS_RUNTIME_TOKEN=${{ env.ACTIONS_RUNTIME_TOKEN }}
232226
GIT_SHA=${{ env.GITHUB_SHA }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ ARG DOCKER_LABEL
2626
# sccache specific variables
2727
ARG ACTIONS_CACHE_URL
2828
ARG ACTIONS_RUNTIME_TOKEN
29-
ARG SCCACHE_GHA_ENABLED="false"
29+
ARG SCCACHE_GHA_ENABLED
3030

3131
RUN wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \
3232
| gpg --dearmor | tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null && \

Dockerfile-cuda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ARG DOCKER_LABEL
3838
# sccache specific variables
3939
ARG ACTIONS_CACHE_URL
4040
ARG ACTIONS_RUNTIME_TOKEN
41-
ARG SCCACHE_GHA_ENABLED="false"
41+
ARG SCCACHE_GHA_ENABLED
4242

4343
WORKDIR /usr/src
4444

0 commit comments

Comments
 (0)