From a1504c5afd3dba1b4c413780b3be1105b12f890c Mon Sep 17 00:00:00 2001 From: Sebastian Godelet Date: Sun, 10 Nov 2024 17:03:00 +1100 Subject: [PATCH] Add upload --- .github/workflows/ci-cd.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index c7f588d..03c893e 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -29,13 +29,20 @@ jobs: - name: Build/Publish app (native) run: dotnet publish -c ${{ matrix.configuration }} + - name: Upload Artifact + uses: actions/upload-artifact@v3 + with: + name: ${{ matrix.os }}-x64 + path: '**/bin/${{ matrix.configuration }}/*-x64/publish/*' + retention-days: 5 + - name: Install prerequisites for Linux ARM64 cross-compile run: | sudo dpkg --add-architecture arm64 sudo bash -c 'cat > /etc/apt/sources.list.d/arm64.list </dev/null) main restricted + deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ $(lsb_release -sc 2>/dev/null)-updates main restricted + deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ $(lsb_release -sc 2>/dev/null)-backports main restricted universe multiverse EOF' sudo sed -i -e 's/deb http/deb [arch=amd64] http/g' /etc/apt/sources.list sudo sed -i -e 's/deb mirror/deb [arch=amd64] mirror/g' /etc/apt/sources.list