uses readme as a hash for the cache key
This commit is contained in:
12
.github/workflows/export-bom.yaml
vendored
12
.github/workflows/export-bom.yaml
vendored
@@ -123,7 +123,7 @@ jobs:
|
|||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: pcb-images/ # Note that this path is not influenced by working-directory set in defaults, for example
|
path: pcb-images/ # Note that this path is not influenced by working-directory set in defaults, for example
|
||||||
key: ${{ runner.os }}-build-${{ env.cache-name }}
|
key: ${{ runner.os }}-${{ hashFiles('README.md') }}
|
||||||
|
|
||||||
generate-bom:
|
generate-bom:
|
||||||
name: Generate BOM
|
name: Generate BOM
|
||||||
@@ -214,7 +214,13 @@ jobs:
|
|||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: pcb-images
|
path: pcb-images
|
||||||
key: ${{ runner.os }}-build-${{ env.cache-name }}
|
key: ${{ runner.os }}-${{ hashFiles('README.md') }}
|
||||||
|
|
||||||
|
- name: What Did We download?
|
||||||
|
run: |
|
||||||
|
ls -al
|
||||||
|
ls -al pcb-images/
|
||||||
|
|
||||||
|
|
||||||
# - name: Download PCB Images
|
# - name: Download PCB Images
|
||||||
# if: github.event_name != 'release'
|
# if: github.event_name != 'release'
|
||||||
@@ -223,6 +229,8 @@ jobs:
|
|||||||
# name: pcb-images
|
# name: pcb-images
|
||||||
# path: pcb-images/
|
# path: pcb-images/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- name: Move PCB Images for Workflow Dispatch
|
- name: Move PCB Images for Workflow Dispatch
|
||||||
if: github.event_name != 'release'
|
if: github.event_name != 'release'
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user