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