check for artifacts
This commit is contained in:
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user