Browse Source

fix(build): Temporarily disable user build caching

* GH Actions errors, disabling caching of west
  modules for now.
xmkb
Peter Johanson 3 years ago
parent
commit
16ffc7aca6
  1. 19
      .github/workflows/build-user-config.yml

19
.github/workflows/build-user-config.yml

@ -1,21 +1,21 @@
name: Reusable user config build name: Reusable user config build
on: on:
workflow_call: workflow_call:
inputs: inputs:
build_matrix_path: build_matrix_path:
description: 'Path to the build matrix file' description: "Path to the build matrix file"
default: 'build.yaml' default: "build.yaml"
required: false required: false
type: string type: string
config_path: config_path:
description: 'Path to the config directory' description: "Path to the config directory"
default: 'config' default: "config"
required: false required: false
type: string type: string
fallback_binary: fallback_binary:
description: 'Fallback binary format, if no *.uf2 file was built' description: "Fallback binary format, if no *.uf2 file was built"
default: 'bin' default: "bin"
required: false required: false
type: string type: string
@ -71,6 +71,7 @@ jobs:
- name: Cache west modules - name: Cache west modules
uses: actions/cache@v3.0.1 uses: actions/cache@v3.0.1
if: false # Disabled for now, caching is broken
env: env:
cache-name: cache-zephyr-${{ steps.variables.outputs.zephyr-version }}-modules cache-name: cache-zephyr-${{ steps.variables.outputs.zephyr-version }}-modules
with: with:
@ -101,7 +102,7 @@ jobs:
- name: ${{ steps.variables.outputs.display-name }} Kconfig file - name: ${{ steps.variables.outputs.display-name }} Kconfig file
run: cat build/zephyr/.config | grep -v "^#" | grep -v "^$" | sort run: cat build/zephyr/.config | grep -v "^#" | grep -v "^$" | sort
- name: Rename artifacts - name: Rename artifacts
run: | run: |
mkdir build/artifacts mkdir build/artifacts
@ -112,7 +113,7 @@ jobs:
then then
cp build/zephyr/zmk.${{ inputs.fallback_binary }} "build/artifacts/${{ steps.variables.outputs.artifact-name }}.${{ inputs.fallback_binary }}" cp build/zephyr/zmk.${{ inputs.fallback_binary }} "build/artifacts/${{ steps.variables.outputs.artifact-name }}.${{ inputs.fallback_binary }}"
fi fi
- name: Archive (${{ steps.variables.outputs.display-name }}) - name: Archive (${{ steps.variables.outputs.display-name }})
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:

Loading…
Cancel
Save