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
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: linux-binary
|
name: linux-binary
|
||||||
path: ${{ steps.build-linux.outputs.binary_path }}
|
path: ${{ needs.detect-project.outputs.project-dir }}/target/x86_64-unknown-linux-gnu/release/${{ needs.detect-project.outputs.project-name }}
|
||||||
|
|
||||||
- name: Cleanup on failure
|
|
||||||
if: failure()
|
|
||||||
run: |
|
|
||||||
echo "Cleaning up Docker images..."
|
|
||||||
docker system prune -a -f || echo "Docker cleanup failed"
|
|
||||||
|
|
||||||
windows-cross:
|
windows-cross:
|
||||||
name: Windows Cross-Compile
|
name: Windows Cross-Compile
|
||||||
@@ -123,13 +117,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: windows-binary
|
name: windows-binary
|
||||||
path: ${{ steps.build-windows.outputs.binary_path }}
|
path: ${{ needs.detect-project.outputs.project-dir }}/target/x86_64-pc-windows-gnu/release/${{ needs.detect-project.outputs.project-name }}.exe
|
||||||
|
|
||||||
- name: Cleanup on failure
|
|
||||||
if: failure()
|
|
||||||
run: |
|
|
||||||
echo "Cleaning up Docker images..."
|
|
||||||
docker system prune -a -f || echo "Docker cleanup failed"
|
|
||||||
|
|
||||||
docker-build:
|
docker-build:
|
||||||
name: Build Docker Images
|
name: Build Docker Images
|
||||||
|
Reference in New Issue
Block a user