tries pulling down raw image files

This commit is contained in:
Stephen Hawes
2023-06-09 17:17:53 -04:00
parent 4d3879d36e
commit 9f820c0d3e

View File

@@ -146,22 +146,29 @@ jobs:
run: | run: |
python3 .github/workflows/scripts/export-bom.py ${SHORT_SHA} python3 .github/workflows/scripts/export-bom.py ${SHORT_SHA}
- name: Download PCB Images - name: Download PCB Images for Workflow Dispatch
if: github.event_name != 'release'
uses: actions/download-artifact@v2 uses: actions/download-artifact@v2
with: with:
name: pcb-images name: pcb-images
path: Feeder-${SHORT_SHA}/img/
- name: Download PCB Images for Release
if: github.event_name == 'release'
uses: actions/download-artifact@v2
with:
name: pcb-images
path: Feeder-${{ github.event.release.tag_name }}/img/
- 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: |
ls -al ls -al
mv pcb-images/* Feeder-${SHORT_SHA}/img
- name: Move PCB Images for Release - name: Move PCB Images for Release
if: github.event_name == 'release' if: github.event_name == 'release'
run: | run: |
ls -al ls -al
mv pcb-images/* Feeder-${{ github.event.release.tag_name }}/img
- name: Install FreeCAD Python library - name: Install FreeCAD Python library
run: | run: |