mirror of
https://github.com/jimeh/emacs-builds.git
synced 2026-02-19 11:56:40 +00:00
chore(test-build): fix builder sha lookup, remove caching
The caching idea is somewhat flawed, as there's a lot of things that cane effect the outcome, and they're difficult to boil down into a single unique key.
This commit is contained in:
7
.github/workflows/test-build.yml
vendored
7
.github/workflows/test-build.yml
vendored
@@ -53,6 +53,7 @@ jobs:
|
||||
ref: ${{ github.event.inputs.emacsBuilderGitRef }}
|
||||
path: builder
|
||||
- name: Store builder Git SHA
|
||||
id: builder_sha
|
||||
run: echo "::set-output name=sha::$(git rev-parse HEAD)"
|
||||
working-directory: builder
|
||||
- uses: actions/setup-go@v2
|
||||
@@ -123,13 +124,7 @@ jobs:
|
||||
with:
|
||||
name: build-plan.yml
|
||||
path: ./
|
||||
- uses: actions/cache@v2
|
||||
id: builds-cache
|
||||
with:
|
||||
path: ./builds
|
||||
key: ${{ runner.os }}-builds-${{ needs.plan.outputs.builder_sha }}-${{ hashFiles('build-plan.yml') }}
|
||||
- name: Build Emacs
|
||||
if: steps.builds-cache.outputs.cache-hit != 'true'
|
||||
run: >-
|
||||
./builder/build-emacs-for-macos --plan build-plan.yml
|
||||
${{ github.event.inputs.extraBuildArgs }}
|
||||
|
||||
Reference in New Issue
Block a user