[ci] Use unique ccache cache keys per job

This commit is contained in:
Khaled Hosny 2023-01-20 00:42:29 +02:00 committed by خالد حسني (Khaled Hosny)
parent a0afde70c5
commit 178c5bed39
2 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,8 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Setup Ccache - name: Setup Ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with:
key: ${{ github.job }}-${{ runner.os }}-${{ runner.arch }}
- name: Install Dependencies - name: Install Dependencies
run: | run: |
sudo apt-get update sudo apt-get update

View File

@ -18,6 +18,8 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Setup Ccache - name: Setup Ccache
uses: hendrikmuhs/ccache-action@v1.2 uses: hendrikmuhs/ccache-action@v1.2
with:
key: ${{ github.job }}-${{ runner.os }}-${{ runner.arch }}
- name: Install Dependencies - name: Install Dependencies
run: | run: |
export HOMEBREW_NO_AUTO_UPDATE=1 export HOMEBREW_NO_AUTO_UPDATE=1