trying to fix pcb images resulting in the final zip
This commit is contained in:
7
.github/workflows/export-bom.yaml
vendored
7
.github/workflows/export-bom.yaml
vendored
@@ -123,6 +123,8 @@ jobs:
|
|||||||
generate-bom:
|
generate-bom:
|
||||||
name: Generate BOM
|
name: Generate BOM
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
needs:
|
||||||
|
export-ecad
|
||||||
steps:
|
steps:
|
||||||
- name: Generate Short SHA Environment Variable
|
- name: Generate Short SHA Environment Variable
|
||||||
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
|
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
|
||||||
@@ -203,13 +205,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: pcb-images
|
name: pcb-images
|
||||||
|
|
||||||
- name: Move PCB Images
|
|
||||||
run: |
|
|
||||||
|
|
||||||
- name: Zip BOM Directory for Workflow Dispatch
|
- name: Zip BOM Directory for Workflow Dispatch
|
||||||
if: github.event_name != 'release'
|
if: github.event_name != 'release'
|
||||||
run: |
|
run: |
|
||||||
zip -r Feeder-BOM.zip Feeder-${SHORT_SHA} Feeder-${SHORT_SHA}/img pcb-images
|
zip -r Feeder-BOM.zip Feeder-${SHORT_SHA} Feeder-${SHORT_SHA}/img /home/runner/work/feeder/feeder/pcb-images.zip
|
||||||
ls -al
|
ls -al
|
||||||
|
|
||||||
- name: Zip BOM Directory for Release
|
- name: Zip BOM Directory for Release
|
||||||
|
|||||||
Reference in New Issue
Block a user