From 2bc7d3d13c2af9b87f3ec68f14bc2ccb653527c1 Mon Sep 17 00:00:00 2001 From: donpat1to Date: Sat, 2 Aug 2025 17:37:43 +0200 Subject: [PATCH] check for artifacts --- .github/workflows/build.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1b744a8..a4cfac6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -80,13 +80,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: linux-binary - path: ${{ steps.build-linux.outputs.binary_path }} - - - name: Cleanup on failure - if: failure() - run: | - echo "Cleaning up Docker images..." - docker system prune -a -f || echo "Docker cleanup failed" + path: ${{ needs.detect-project.outputs.project-dir }}/target/x86_64-unknown-linux-gnu/release/${{ needs.detect-project.outputs.project-name }} windows-cross: name: Windows Cross-Compile @@ -123,13 +117,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: windows-binary - path: ${{ steps.build-windows.outputs.binary_path }} - - - name: Cleanup on failure - if: failure() - run: | - echo "Cleaning up Docker images..." - docker system prune -a -f || echo "Docker cleanup failed" + path: ${{ needs.detect-project.outputs.project-dir }}/target/x86_64-pc-windows-gnu/release/${{ needs.detect-project.outputs.project-name }}.exe docker-build: name: Build Docker Images