Skip to content

Commit

Permalink
fix: gha cache not providing speedup
Browse files Browse the repository at this point in the history
  • Loading branch information
strophy authored Mar 31, 2022
1 parent f3bde3f commit 7337cb2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release_alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ jobs:
- name: Prepare Gitian
run: dash/contrib/gitian-build.py --setup "dummy" "${{ steps.branch-name.outputs.current_branch }}"

- uses: pat-s/always-upload-cache@v2
- uses: actions/cache@v3
id: ccache
with:
path: /opt/actions-runner/_work/dash/dash/gitian-builder/cache/dash-linux-0.17
key: ${{ runner.os }}-ccache-${{ hashFiles('**/ccache.tar') }}
key: ${{ runner.os }}-ccache-${{ github.sha }}
restore-keys: ${{ runner.os }}-ccache-

- name: Run Gitian build
Expand Down Expand Up @@ -100,7 +100,3 @@ jobs:
build-args: |
TAG=${{ steps.docker_meta.outputs.version }}
BRANCH=${{ steps.branch-name.outputs.current_branch }}
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ failure() }}

0 comments on commit 7337cb2

Please sign in to comment.