do not apt on selfhosted arm64

This commit is contained in:
Nikita Galaiko 2023-08-01 17:22:07 +02:00
parent 2ece0c32c1
commit 94febd6c6b

View File

@ -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