Skip to content

Commit

Permalink
Updated to actions/download-artifact@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickBaus committed Dec 17, 2023
1 parent 8a2ca9e commit 58e93fe
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,19 +138,19 @@ jobs:
- name: Upload bill of materials files as artifact
uses: actions/upload-artifact@v4
with:
name: bom
name: bom-${{ matrix.variant }}
path: bom_files_compressed

- name: Upload schematic files as artifact
uses: actions/upload-artifact@v4
with:
name: schematics
name: schematics-${{ matrix.variant }}
path: schematics

- name: Upload schematic files as artifact
uses: actions/upload-artifact@v4
with:
name: gerber_files
name: gerber_files-${{ matrix.variant }}
path: gerber_files_compressed

release:
Expand All @@ -163,9 +163,15 @@ jobs:
variant: [ 'default' ]
steps:
- name: Download manufacturing files artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: ./manufacturing_files
path: artifacts

- name: Merge artifacts
run: |
mkdir ./manufacturing_files
mv artifacts/*/* ./manufacturing_files
shell: bash

- name: Display structure of downloaded files
run: ls -R
Expand Down

0 comments on commit 58e93fe

Please sign in to comment.