Skip to content

Commit

Permalink
ccache
Browse files Browse the repository at this point in the history
  • Loading branch information
PF4Public committed Oct 8, 2023
1 parent b645678 commit 68c34b5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cromite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
run: |
echo "workspace=${GITHUB_WORKSPACE}" >> $GITHUB_OUTPUT
mkdir -p "${GITHUB_WORKSPACE}/distfiles"
mkdir -p "${GITHUB_WORKSPACE}/ccache"
- name: Calculate the hash of changed files
id: hash
Expand All @@ -44,7 +45,7 @@ jobs:
id: cache-distfiles
uses: actions/cache@v3
with:
path: "${{ steps.prepare.outputs.workspace }}/distfiles"
path: "${{ steps.prepare.outputs.workspace }}/distfiles ${{ steps.prepare.outputs.workspace }}/ccache"
key: ${{ github.workflow }}-${{ steps.hash.outputs.digest }}
restore-keys: |
${{ github.workflow }}
Expand Down Expand Up @@ -97,6 +98,7 @@ jobs:
run: |
echo "workspace=${GITHUB_WORKSPACE}" >> $GITHUB_OUTPUT
mkdir -p "${GITHUB_WORKSPACE}/distfiles"
mkdir -p "${GITHUB_WORKSPACE}/ccache"
- name: Calculate the hash of changed files
id: hash
Expand All @@ -115,7 +117,7 @@ jobs:
id: cache-distfiles
uses: actions/cache@v3
with:
path: "${{ steps.prepare.outputs.workspace }}/distfiles"
path: "${{ steps.prepare.outputs.workspace }}/distfiles ${{ steps.prepare.outputs.workspace }}/ccache"
key: ${{ github.workflow }}-${{ steps.hash.outputs.digest }}
restore-keys: |
${{ github.workflow }}
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/electron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
run: |
echo "workspace=${GITHUB_WORKSPACE}" >> $GITHUB_OUTPUT
mkdir -p "${GITHUB_WORKSPACE}/distfiles"
mkdir -p "${GITHUB_WORKSPACE}/ccache"
- name: Calculate the hash of changed files
id: hash
Expand All @@ -44,7 +45,7 @@ jobs:
id: cache-distfiles
uses: actions/cache@v3
with:
path: "${{ steps.prepare.outputs.workspace }}/distfiles"
path: "${{ steps.prepare.outputs.workspace }}/distfiles ${{ steps.prepare.outputs.workspace }}/ccache"
key: ${{ github.workflow }}-${{ steps.hash.outputs.digest }}
restore-keys: ${{ github.workflow }}

Expand Down Expand Up @@ -91,6 +92,7 @@ jobs:
run: |
echo "workspace=${GITHUB_WORKSPACE}" >> $GITHUB_OUTPUT
mkdir -p "${GITHUB_WORKSPACE}/distfiles"
mkdir -p "${GITHUB_WORKSPACE}/ccache"
- name: Calculate the hash of changed files
id: hash
Expand All @@ -109,7 +111,7 @@ jobs:
id: cache-distfiles
uses: actions/cache@v3
with:
path: "${{ steps.prepare.outputs.workspace }}/distfiles"
path: "${{ steps.prepare.outputs.workspace }}/distfiles ${{ steps.prepare.outputs.workspace }}/ccache"
key: ${{ github.workflow }}-${{ steps.hash.outputs.digest }}
restore-keys: ${{ github.workflow }}

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/ungoogled-chromium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
run: |
echo "workspace=${GITHUB_WORKSPACE}" >> $GITHUB_OUTPUT
mkdir -p "${GITHUB_WORKSPACE}/distfiles"
mkdir -p "${GITHUB_WORKSPACE}/ccache"
- name: Calculate the hash of changed files
id: hash
Expand All @@ -44,7 +45,7 @@ jobs:
id: cache-distfiles
uses: actions/cache@v3
with:
path: "${{ steps.prepare.outputs.workspace }}/distfiles"
path: "${{ steps.prepare.outputs.workspace }}/distfiles ${{ steps.prepare.outputs.workspace }}/ccache"
key: ${{ github.workflow }}-${{ steps.hash.outputs.digest }}
restore-keys: ${{ github.workflow }}

Expand Down Expand Up @@ -96,6 +97,7 @@ jobs:
run: |
echo "workspace=${GITHUB_WORKSPACE}" >> $GITHUB_OUTPUT
mkdir -p "${GITHUB_WORKSPACE}/distfiles"
mkdir -p "${GITHUB_WORKSPACE}/ccache"
- name: Calculate the hash of changed files
id: hash
Expand All @@ -114,7 +116,7 @@ jobs:
id: cache-distfiles
uses: actions/cache@v3
with:
path: "${{ steps.prepare.outputs.workspace }}/distfiles"
path: "${{ steps.prepare.outputs.workspace }}/distfiles ${{ steps.prepare.outputs.workspace }}/ccache"
key: ${{ github.workflow }}-${{ steps.hash.outputs.digest }}
restore-keys: ${{ github.workflow }}

Expand Down

0 comments on commit 68c34b5

Please sign in to comment.