This commit is contained in:
Chloe 2024-07-25 19:07:19 -07:00
parent 0005f4ed66
commit 93793ac816
No known key found for this signature in database
GPG key ID: D2D404DD810FE0E3

View file

@ -16,24 +16,24 @@ runs:
using: "composite"
steps:
# https://github.com/mozilla/sccache/issues/2090
- name: Download custom sccache
uses: robinraju/release-downloader@v1.10
with:
repository: cgytrus/sccache
latest: true
fileName: 'sccache-*-x86_64-apple-darwin.zip'
tarBall: false
zipBall: false
out-file-path: "epic-sccache"
if: inputs.host == 'mac' && inputs.use-ccache
#- name: Download custom sccache
# uses: robinraju/release-downloader@v1.10
# with:
# repository: cgytrus/sccache
# latest: true
# fileName: 'sccache-*-x86_64-apple-darwin.zip'
# tarBall: false
# zipBall: false
# out-file-path: "epic-sccache"
# if: inputs.host == 'mac' && inputs.use-ccache
- name: Setup custom sccache
shell: bash
run: |
7z x "epic-sccache/sccache-*-x86_64-apple-darwin.zip" -o"epic-sccache"
echo "$GITHUB_WORKSPACE/epic-sccache" >> $GITHUB_PATH
chmod +x "epic-sccache/sccache"
if: inputs.host == 'mac' && inputs.use-ccache
#- name: Setup custom sccache
# shell: bash
# run: |
# 7z x "epic-sccache/sccache-*-x86_64-apple-darwin.zip" -o"epic-sccache"
# echo "$GITHUB_WORKSPACE/epic-sccache" >> $GITHUB_PATH
# chmod +x "epic-sccache/sccache"
# if: inputs.host == 'mac' && inputs.use-ccache
- name: Setup sccache
uses: hendrikmuhs/ccache-action@v1.2.13