From da86dc3c232c5899697ce63186ef0b59d150ff12 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Wed, 29 Apr 2020 11:27:09 +0200 Subject: [PATCH] Use ccache for faster compilation speed --- .github/workflows/build.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7e4913e..8af317a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,10 +13,9 @@ jobs: - name: Checkout Sources uses: actions/checkout@v2 with: - clean: false # Re-use artifacts from previous build submodules: recursive - name: Build Kernel - run: make + run: PATH="/usr/lib/ccache:${PATH}" make - name: Read Build Information id: read_build_info run: | @@ -28,7 +27,7 @@ jobs: - name: Upload Artifacts uses: actions/upload-artifact@v2-preview with: - name: debs + nme: debs path: "*.deb" - name: Create Release if: startsWith(github.ref, 'refs/tags/release') @@ -38,7 +37,7 @@ jobs: set -x assets=() for asset in ./*.deb; do - assets + =("-a" "$asset") + assets += ("-a" "$asset") done tag_name=${GITHUB_REF#"refs/tags/"} release_name="${{ steps.read_build_info.outputs.release }}"