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:
2021-08-05 01:21:02 +01:00
parent 6561dc4a02
commit 1ba8aaecfd

View File

@@ -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 }}