From 806697245bfc4f44966e402b15f85d05e0c5e2fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Tue, 9 Feb 2021 20:25:41 +0100 Subject: [PATCH] Use named keys for ccache caches in github actions --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 00abba7c60..8f863d5023 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,6 +87,8 @@ jobs: uses: actions/checkout@v2 - name: ccache uses: hendrikmuhs/ccache-action@v1 + with: + key: windows-mingw - name: Build OpenRCT2 run: | sudo su @@ -104,6 +106,8 @@ jobs: uses: actions/checkout@v2 - name: ccache uses: hendrikmuhs/ccache-action@v1 + with: + key: windows-mingw-nt51 - name: Build OpenRCT2 run: | sudo su @@ -155,6 +159,8 @@ jobs: uses: actions/checkout@v1 - name: ccache uses: hendrikmuhs/ccache-action@v1 + with: + key: linux-portable - name: Get pre-reqs shell: bash run: . scripts/setenv && get-discord-rpc @@ -192,6 +198,8 @@ jobs: uses: actions/checkout@v1 - name: ccache uses: hendrikmuhs/ccache-action@v1 + with: + key: linux-portable-32 - name: Get pre-reqs shell: bash run: . scripts/setenv && get-discord-rpc @@ -234,6 +242,8 @@ jobs: uses: actions/checkout@v1 - name: ccache uses: hendrikmuhs/ccache-action@v1 + with: + key: linux-appimage - name: Get pre-reqs shell: bash run: . scripts/setenv -q && get-discord-rpc @@ -294,6 +304,8 @@ jobs: uses: actions/checkout@v1 - name: ccache uses: hendrikmuhs/ccache-action@v1 + with: + key: linux-clang - name: Build OpenRCT2 shell: bash run: . scripts/setenv && build -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Debug -DDISABLE_NETWORK=ON -DDISABLE_HTTP=ON -DDISABLE_OPENGL=ON @@ -308,6 +320,8 @@ jobs: uses: actions/checkout@v1 - name: ccache uses: hendrikmuhs/ccache-action@v1 + with: + key: android - name: Build OpenRCT2 shell: bash run: |