From 753923d240a48a0c493bd9126f52a3eeea3c29dd Mon Sep 17 00:00:00 2001 From: Tomasz Godzik Date: Mon, 13 Nov 2023 12:23:25 +0100 Subject: [PATCH] bugfix: Add echos --- .github/workflows/ci.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dbb83a4..376ac96 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,9 +57,20 @@ jobs: - uses: coursier/setup-action@v1.3 with: apps: "" - - - run: .github/scripts/build-linux-aarch64.sh - + - run: | + set -euv + DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)" + mkdir -p artifacts + mkdir -p utils + cp "$(cs get https://github.com/coursier/coursier/releases/download/v2.0.16/cs-aarch64-pc-linux)" utils/cs + chmod +x utils/cs + cp "$DIR/build-linux-aarch64-from-docker.sh" utils/ + docker run $(if test -t 1; then echo "-it"; fi) --rm \ + --volume "$(pwd):/data" \ + -w /data \ + -e "CI=$CI" \ + ubuntu:20.04 \ + /data/utils/build-linux-aarch64-from-docker.sh - uses: actions/upload-artifact@v3.1.2 with: name: linux-launcher