Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gha] Bump actions/upload-artifact from 3 to 4 #2

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 16 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
targets: __NONE__ # Only run preflights

- name: Retrieve results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ERC_Output
path: generated
Expand All @@ -114,7 +114,7 @@ jobs:
targets: __NONE__ # Only run preflights

- name: Retrieve results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: DRC_Output
path: generated
Expand Down Expand Up @@ -142,21 +142,21 @@ jobs:
verbose: 0 # use 3 for debugging

- name: Upload bill of materials files as artifact
uses: actions/upload-artifact@v3
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@v3
uses: actions/upload-artifact@v4
with:
name: schematics
name: schematics-${{ matrix.variant }}
path: schematics

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

release:
Expand All @@ -169,9 +169,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
215 changes: 0 additions & 215 deletions .github/workflows/ci.yml.bak

This file was deleted.