From 4a61935ab66611c7b1c87118480edbc2735557ed Mon Sep 17 00:00:00 2001 From: launchdaemon <7250222+launchdaemon@users.noreply.github.com> Date: Tue, 7 May 2024 09:44:48 +0100 Subject: [PATCH] Update publish.yml Updated to include building for Linux on ARM --- .github/workflows/publish.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1097390..f8dc203 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -42,7 +42,13 @@ jobs: run: | VERSION=${{ github.ref_name }} dotnet publish $PWD/TeamFiltration/ -c ${{ matrix.release.type }} -r linux-x64 -p:PublishSingleFile=true --self-contained true --output $PWD/TeamFiltrationRelease/Linux/ -p:Version=${VERSION:1} - + + - name: Build for Linux ARM + continue-on-error: true + run: | + VERSION=${{ github.ref_name }} + dotnet publish $PWD/TeamFiltration/ -c ${{ matrix.release.type }} -r linux-arm64 -p:PublishSingleFile=true --self-contained true --output $PWD/TeamFiltrationRelease/LinuxArm/ -p:Version=${VERSION:1} + - name: Build for Mac Intel continue-on-error: true run: | @@ -65,6 +71,11 @@ jobs: if: "! startsWith(github.event_name, 'pull_request')" run: 7z a -tzip -mx9 TeamFiltration-${{ github.ref_name }}-linux-x86_64$.zip $PWD/TeamFiltrationRelease/Linux/TeamFiltration $PWD/*.json + - name: Zip Linux ARM + continue-on-error: true + if: "! startsWith(github.event_name, 'pull_request')" + run: 7z a -tzip -mx9 TeamFiltration-${{ github.ref_name }}-linux-arm64$.zip $PWD/TeamFiltrationRelease/LinuxArm/TeamFiltration $PWD/*.json + - name: Zip Mac continue-on-error: true if: "! startsWith(github.event_name, 'pull_request')" @@ -81,5 +92,6 @@ jobs: files: | TeamFiltration-${{ github.ref_name }}-win-x86_64.zip TeamFiltration-${{ github.ref_name }}-linux-x86_64$.zip + TeamFiltration-${{ github.ref_name }}-linux-arm64$.zip TeamFiltration-${{ github.ref_name }}-macOS-x86_64.zip - TeamFiltration-${{ github.ref_name }}-macOS-arm64.zip \ No newline at end of file + TeamFiltration-${{ github.ref_name }}-macOS-arm64.zip