Skip to content

Commit

Permalink
HOME variable doesnÄt seem to be set, therefore we set GITHUB_WORKSPACE
Browse files Browse the repository at this point in the history
  • Loading branch information
dereulenspiegel committed Nov 6, 2022
1 parent a8d42ab commit b623806
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ jobs:
- name: Enable CCACHE
run: |
echo "BR2_CCACHE=y" >> .config
echo 'BR2_CCACHE_DIR="$(HOME)/.buildroot-ccache"' >> .config
echo 'BR2_CCACHE_DIR="$(GITHUB_WORKSPACE)/.buildroot-ccache"' >> .config
echo 'BR2_CCACHE_USE_BASEDIR=y' >> .config
- name: Cache CCACHE
id: cache-ccache
uses: actions/cache@v3
with:
path: ${{ env.HOME }}/.buildroot-ccache
path: ${{ env.GITHUB_WORKSPACE }}/.buildroot-ccache
key: ${{ env.BUILDROOT_VERSION }}-buildroot-ccache

- name: Cache Downloads
Expand Down

0 comments on commit b623806

Please sign in to comment.