Skip to content

Commit

Permalink
Update to latest ccache
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuald committed Aug 25, 2024
1 parent 117add0 commit 1e27d2d
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,21 +119,11 @@ jobs:
name: dist
path: dist

- name: Set ccache variant
shell: bash
id: ccache
run: |
if [[ "${{ matrix.os }}" == windows-* ]]; then
echo "VARIANT=sccache" >> $GITHUB_OUTPUT
else
echo "VARIANT=ccache" >> $GITHUB_OUTPUT
fi
- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: robotpy/ccache-action@fork
with:
key: ${{ matrix.os }}-${{ matrix.architecture }}-${{ matrix.python_version }}
variant: ${{ steps.ccache.outputs.variant }}
variant: ccache

- name: Install
shell: bash
Expand Down Expand Up @@ -176,7 +166,7 @@ jobs:

- run: apt-get update
- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1.2
uses: robotpy/ccache-action@fork
with:
key: ${{ matrix.container }}

Expand Down

0 comments on commit 1e27d2d

Please sign in to comment.