Skip to content

Commit ba4ba60

Browse files
committed
ci: Use Artifactory as sccache storage
1 parent 8d04169 commit ba4ba60

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/dist.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ concurrency:
1414
group: ${{ github.ref }}
1515
cancel-in-progress: true
1616

17+
env:
18+
SCCACHE_WEBDAV_ENDPOINT: "https://frcmaven.wpi.edu/artifactory/wpilib-generic-cache-cmake-local"
19+
SCCACHE_WEBDAV_KEY_PREFIX: "sccache-robotpy"
20+
1721
jobs:
1822
# This job limits concurrency on the default branch
1923
# - we want it to run so it can populate ccache, but we typically
@@ -128,6 +132,8 @@ jobs:
128132
env:
129133
RPYBUILD_STRIP_LIBPYTHON: "1"
130134
RPYBUILD_CC_LAUNCHER: ${{ steps.ccache.outputs.variant }}
135+
SCCACHE_WEBDAV_USERNAME: ${{ secrets.WPI_ARTIFACTORY_USERNAME }}
136+
SCCACHE_WEBDAV_PASSWORD: ${{ secrets.WPI_ARTIFACTORY_TOKEN }}
131137

132138
- uses: actions/upload-artifact@v4
133139
with:

0 commit comments

Comments
 (0)