mirror of
https://github.com/jimeh/homebrew-emacs-builds.git
synced 2026-02-19 13:16:38 +00:00
ci(github): attempt to speed up update workflow with cache
This commit is contained in:
9
.github/workflows/update-formulas.yml
vendored
9
.github/workflows/update-formulas.yml
vendored
@@ -42,7 +42,14 @@ jobs:
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.16
|
||||
- name: Pre-build emacs-builder tool
|
||||
- uses: actions/cache@v2
|
||||
id: builder-cache
|
||||
with:
|
||||
path: ~/go/pkg/mod
|
||||
key: ${{ runner.os }}-go-${{ hashFiles('builder/**/go.sum') }}
|
||||
restore-keys: ${{ runner.os }}-go-
|
||||
- name: Build emacs-builder tool
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
run: make build
|
||||
working-directory: builder
|
||||
- name: Update Cask formulas
|
||||
|
||||
Reference in New Issue
Block a user