From 1c570bd666117f7fb70b7a057fb1b9a5fd452dff Mon Sep 17 00:00:00 2001 From: leon3s Date: Thu, 2 Nov 2023 08:13:02 +0100 Subject: [PATCH] chore/workflow: fix nanocl release --- .github/workflows/draft_nightly_nanocl.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/draft_nightly_nanocl.yml b/.github/workflows/draft_nightly_nanocl.yml index 6d65d0158..db6abd53b 100644 --- a/.github/workflows/draft_nightly_nanocl.yml +++ b/.github/workflows/draft_nightly_nanocl.yml @@ -43,19 +43,16 @@ jobs: echo $VERSION echo $PKG_ARCH echo $TARGET_ARCH - # Install rust - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - override: true - components: llvm-tools-preview # Install required dependencies - name: Install dependencies run: | apt-get update -y dpkg --add-architecture $PKG_ARCH apt-get update -y - apt-get install -y pkg-config musl-dev:$PKG_ARCH libpq-dev:$PKG_ARCH libssl-dev:$PKG_ARCH musl-tools:$PKG_ARCH libc-dev:$PKG_ARCH make git dpkg pandoc curl gcc-aarch64-linux-gnu + apt-get install -y pkg-config musl-dev:$PKG_ARCH libpq-dev:$PKG_ARCH libssl-dev:$PKG_ARCH musl-tools:$PKG_ARCH libc-dev:$PKG_ARCH make git dpkg pandoc curl + if [ "$PKG_ARCH" = "arm64" ]; then + apt-get install -y gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu:arm64 + fi type -p curl >/dev/null || (apt-get update && apt-get install curl -y) curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg