From 17f70397cccf6cfe7d7242e3a6c681e6c559cf5e Mon Sep 17 00:00:00 2001 From: TMShader Date: Fri, 6 Dec 2024 22:44:12 +0100 Subject: [PATCH] Fix actions problems --- .github/workflows/deploy-without-kibot.yml | 18 ++++++++++-------- .github/workflows/kibot.yml | 18 ++++++++++-------- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/.github/workflows/deploy-without-kibot.yml b/.github/workflows/deploy-without-kibot.yml index bc1e0fa..bdd9022 100644 --- a/.github/workflows/deploy-without-kibot.yml +++ b/.github/workflows/deploy-without-kibot.yml @@ -33,6 +33,14 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} run-id: ${{ inputs.run_id }} + - name: Download artifact + uses: actions/download-artifact@v4 + with: + name: artsey_ergo + path: output + github-token: ${{ secrets.GITHUB_TOKEN }} + run-id: ${{ inputs.run_id }} + - name: Move artifact files run: | ls -l @@ -46,6 +54,8 @@ jobs: mkdir documents mv output/drc_validation.md ./ mv output/erc_validation.md ./ + mv output/artsey_ergo-erc.html ./ + mv output/artsey_ergo-drc.html ./ mv output/step/Step/artsey_ergo-3D.step ./artsey_ergo-3D.step mv output/report/report/artsey_ergo-report.txt ./artsey_ergo-report.md mv output/render_top/artsey_ergo-3D_blender_top.png images/artsey_ergo-3D_blender_top.png @@ -66,14 +76,6 @@ jobs: ls -l export find . - - name: Download artifact - uses: actions/download-artifact@v4 - with: - name: artsey_ergo - path: output - github-token: ${{ secrets.GITHUB_TOKEN }} - run-id: ${{ inputs.run_id }} - - name: Setup Pages uses: actions/configure-pages@v5 diff --git a/.github/workflows/kibot.yml b/.github/workflows/kibot.yml index 607ee2a..33d52e9 100644 --- a/.github/workflows/kibot.yml +++ b/.github/workflows/kibot.yml @@ -59,7 +59,7 @@ jobs: cat < output/erc_validation.md - **Errors**: $erc_errors - **Warnings**: $erc_warnings - - **Link**: [HTML Report](output/artsey_ergo-erc.html) + - **Link**: [HTML Report](artsey_ergo-erc.html) EOF cat output/erc_validation.md @@ -70,7 +70,7 @@ jobs: cat < output/drc_validation.md - **Errors**: $drc_errors - **Warnings**: $drc_warnings - - **Link**: [HTML Report](output/artsey_ergo-drc.html) + - **Link**: [HTML Report](artsey_ergo-drc.html) EOF cat output/drc_validation.md @@ -353,6 +353,12 @@ jobs: with: path: output + - name: Download artifact + uses: actions/download-artifact@v4 + with: + name: artsey_ergo + path: output + - name: Move artifact files run: | ls -l @@ -366,6 +372,8 @@ jobs: mkdir documents mv output/drc_validation.md ./ mv output/erc_validation.md ./ + mv output/artsey_ergo-erc.html ./ + mv output/artsey_ergo-drc.html ./ mv output/step/Step/artsey_ergo-3D.step ./artsey_ergo-3D.step mv output/report/report/artsey_ergo-report.txt ./artsey_ergo-report.md mv output/render_top/artsey_ergo-3D_blender_top.png images/artsey_ergo-3D_blender_top.png @@ -386,12 +394,6 @@ jobs: ls -l export find . - - name: Download artifact - uses: actions/download-artifact@v4 - with: - name: artsey_ergo - path: output - - name: Setup Pages uses: actions/configure-pages@v5