From 4fe0f9c792524ffd3dcb7ef055fba68bf5c67ede Mon Sep 17 00:00:00 2001 From: Philipp Hossner Date: Tue, 13 Feb 2024 20:21:19 +0100 Subject: [PATCH] Add cache to build pipeline --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 54fab02..1a95241 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,13 @@ jobs: steps: - name: Check out repository code uses: actions/checkout@v4 + - name: Cache Gradle packages + uses: actions/cache@v3 + env: + cache-name: cache-build-deps + with: + key: ${{ runner.os }}-build-${{ env.cache-name }} + path: .cache - name: Run build script run: | ./build.sh