From a3dc3418a29c76d0fa2634015eac56e1a7b25320 Mon Sep 17 00:00:00 2001 From: Joshua-Riek Date: Wed, 13 Sep 2023 21:34:25 -0400 Subject: [PATCH] upload desktop and server artifacts separately for mainline workflow --- .github/workflows/build-mainline.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-mainline.yml b/.github/workflows/build-mainline.yml index 0bdf21e0..ae461ea1 100644 --- a/.github/workflows/build-mainline.yml +++ b/.github/workflows/build-mainline.yml @@ -55,9 +55,16 @@ jobs: sudo rm -rf ./images/ sudo ./build.sh --board ${{ matrix.platform }} --mainline --server-only - - name: Upload artifacts + - name: Upload server artifact uses: actions/upload-artifact@v3 with: - name: ubuntu-22.04.3-preinstalled-arm64-${{ matrix.platform }} - path: ./images/ubuntu-22.04.3-preinstalled-*-arm64-${{ matrix.platform }}.* + name: ubuntu-22.04.3-preinstalled-server-arm64-${{ matrix.platform }} + path: ./images/ubuntu-22.04.3-preinstalled-server-arm64-${{ matrix.platform }}.* + if-no-files-found: error + + - name: Upload desktop artifact + uses: actions/upload-artifact@v3 + with: + name: ubuntu-22.04.3-preinstalled-desktop-arm64-${{ matrix.platform }} + path: ./images/ubuntu-22.04.3-preinstalled-desktop-arm64-${{ matrix.platform }}.* if-no-files-found: error