From 418911ad6a253fcedde3406d7a8b7ba32490f97b Mon Sep 17 00:00:00 2001 From: Nemo Xiong Date: Sun, 10 Mar 2024 19:16:27 +1100 Subject: [PATCH] ci: attach all artifacts --- .github/workflows/cli-build-dev.yml | 36 +++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cli-build-dev.yml b/.github/workflows/cli-build-dev.yml index 579331e..acc9603 100644 --- a/.github/workflows/cli-build-dev.yml +++ b/.github/workflows/cli-build-dev.yml @@ -86,10 +86,38 @@ jobs: cd builtLinuxArm64 tar czfv ../../SonicLair.Cli-${{steps.short.outputs.short}}-linux-arm64.tar.gz SonicLair.Cli - - name: Upload release bundle as artifact + - name: Attach Win x64 artifacts uses: actions/upload-artifact@v3 with: - path: | - SonicLair.Cli-${{steps.short.outputs.short}}-win-x64.zip - retention-days: 60 + name: SonicLair.Cli-${{steps.short.outputs.short}} + path: SonicLair.Cli-${{steps.short.outputs.short}}-win-x64.zip + - name: Attach Win x86 artifacts + uses: actions/upload-artifact@v3 + with: + name: SonicLair.Cli-${{steps.short.outputs.short}} + path: SonicLair.Cli-${{steps.short.outputs.short}}-win-x86.zip + + - name: Attach Mac OS x64 artifacts + uses: actions/upload-artifact@v3 + with: + name: SonicLair.Cli-${{steps.short.outputs.short}} + path: SonicLair.Cli-${{steps.short.outputs.short}}-macos-x64.zip + + - name: Attach Linux x64 artifacts + uses: actions/upload-artifact@v3 + with: + name: SonicLair.Cli-${{steps.short.outputs.short}} + path: SonicLair.Cli-${{steps.short.outputs.short}}-linux-x64.tar.gz + + - name: Attach Linux arm artifacts + uses: actions/upload-artifact@v3 + with: + name: SonicLair.Cli-${{steps.short.outputs.short}} + path: SonicLair.Cli-${{steps.short.outputs.short}}-linux-arm.tar.gz + + - name: Attach Linux arm64 artifacts + uses: actions/upload-artifact@v3 + with: + name: SonicLair.Cli-${{steps.short.outputs.short}} + path: SonicLair.Cli-${{steps.short.outputs.short}}-linux-arm64.tar.gz \ No newline at end of file