From 94febd6c6bdd911a17358c4139109334973d07dc Mon Sep 17 00:00:00 2001 From: Nikita Galaiko Date: Tue, 1 Aug 2023 17:22:07 +0200 Subject: [PATCH] do not apt on selfhosted arm64 --- .github/workflows/publish.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 81b5aaa3b..21d0894b5 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -102,10 +102,12 @@ jobs: echo "version=$NEXT_VERSION" >> $GITHUB_ENV - run: sudo apt-get update - if: runner.os == 'Linux' + # self hosted Linux ARM64 runner has this baked in + if: runner.os == 'Linux' && runner.arch != 'ARM64' - name: Install system dependencies + # self hosted Linux ARM64 runner has this baked in uses: daaku/gh-action-apt-install@v4 - if: runner.os == 'Linux' + if: runner.os == 'Linux' && runner.arch != 'ARM64' with: # https://tauri.app/v1/guides/getting-started/prerequisites#setting-up-linux packages: libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev