update workflow actions to v4
Some checks failed
KiBot PCB Generation / generate (push) Has been cancelled
KiBot PCB Generation / deploy (push) Has been cancelled

This commit is contained in:
2025-10-15 15:43:15 +07:00
parent 157e14cd7c
commit ab03884060

View File

@@ -421,70 +421,70 @@ jobs:
chmod -R a+rw Generated || true chmod -R a+rw Generated || true
- name: Retrieve results - All outputs - name: Retrieve results - All outputs
uses: actions/upload-artifact@v3 uses: https://github.com/christopherHX/gitea-upload-artifact@v4
with: with:
name: Automatic_outputs name: Automatic_outputs
path: Generated path: Generated
- name: Retrieve results - Gerbers - name: Retrieve results - Gerbers
if: steps.config_check.outputs.found == 'true' if: steps.config_check.outputs.found == 'true'
uses: actions/upload-artifact@v3 uses: https://github.com/christopherHX/gitea-upload-artifact@v4
with: with:
name: Gerbers-${{ steps.layers.outputs.layers }}layer name: Gerbers-${{ steps.layers.outputs.layers }}layer
path: Generated/Gerbers path: Generated/Gerbers
- name: Retrieve results - Assembly - name: Retrieve results - Assembly
if: steps.config_check.outputs.found == 'true' if: steps.config_check.outputs.found == 'true'
uses: actions/upload-artifact@v3 uses: https://github.com/christopherHX/gitea-upload-artifact@v4
with: with:
name: Assembly-${{ steps.layers.outputs.layers }}layer name: Assembly-${{ steps.layers.outputs.layers }}layer
path: Generated/Assembly path: Generated/Assembly
- name: Retrieve results - BOM - name: Retrieve results - BOM
if: steps.config_check.outputs.found == 'true' if: steps.config_check.outputs.found == 'true'
uses: actions/upload-artifact@v3 uses: https://github.com/christopherHX/gitea-upload-artifact@v4
with: with:
name: BOM-${{ steps.layers.outputs.layers }}layer name: BOM-${{ steps.layers.outputs.layers }}layer
path: Generated/BoM path: Generated/BoM
- name: Retrieve results - Datasheets - name: Retrieve results - Datasheets
if: steps.config_check.outputs.found == 'true' if: steps.config_check.outputs.found == 'true'
uses: actions/upload-artifact@v3 uses: https://github.com/christopherHX/gitea-upload-artifact@v4
with: with:
name: Datasheets name: Datasheets
path: Generated/Datasheets path: Generated/Datasheets
- name: Retrieve results - 3D Model - name: Retrieve results - 3D Model
if: steps.config_check.outputs.found == 'true' if: steps.config_check.outputs.found == 'true'
uses: actions/upload-artifact@v3 uses: https://github.com/christopherHX/gitea-upload-artifact@v4
with: with:
name: 3D-Model name: 3D-Model
path: Generated/3D path: Generated/3D
- name: Retrieve results - Fabrication Package - name: Retrieve results - Fabrication Package
if: steps.config_check.outputs.found == 'true' if: steps.config_check.outputs.found == 'true'
uses: actions/upload-artifact@v3 uses: https://github.com/christopherHX/gitea-upload-artifact@v4
with: with:
name: Fabrication-Package-${{ steps.layers.outputs.layers }}layer name: Fabrication-Package-${{ steps.layers.outputs.layers }}layer
path: Generated/*.zip path: Generated/*.zip
- name: Retrieve results - JLCPCB Package - name: Retrieve results - JLCPCB Package
if: steps.config_check.outputs.found == 'true' if: steps.config_check.outputs.found == 'true'
uses: actions/upload-artifact@v3 uses: https://github.com/christopherHX/gitea-upload-artifact@v4
with: with:
name: JLCPCB-${{ steps.layers.outputs.layers }}layer name: JLCPCB-${{ steps.layers.outputs.layers }}layer
path: Generated/*_JLCPCB_compress.zip path: Generated/*_JLCPCB_compress.zip
- name: Retrieve results - Interactive Viewers - name: Retrieve results - Interactive Viewers
if: steps.config_check.outputs.found == 'true' if: steps.config_check.outputs.found == 'true'
uses: actions/upload-artifact@v3 uses: https://github.com/christopherHX/gitea-upload-artifact@v4
with: with:
name: Interactive-Viewers name: Interactive-Viewers
path: Generated/Interactive path: Generated/Interactive
- name: Retrieve results - Diff Report - name: Retrieve results - Diff Report
if: steps.generate_diff.outputs.has_diff == 'true' if: steps.generate_diff.outputs.has_diff == 'true'
uses: actions/upload-artifact@v3 uses: https://github.com/christopherHX/gitea-upload-artifact@v4
with: with:
name: Schematic-PCB-Diff name: Schematic-PCB-Diff
path: Generated/DIFF path: Generated/DIFF
@@ -498,7 +498,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Retrieve results - name: Retrieve results
uses: actions/download-artifact@v3 uses: https://github.com/ChristopherHX/gitea-download-artifact@v4
with: with:
name: Automatic_outputs name: Automatic_outputs
path: Generated path: Generated