From 71a4debf138c64d5370aa3a1fdca59ee8c09a6f8 Mon Sep 17 00:00:00 2001 From: Markus Ueberall Date: Tue, 21 Sep 2021 10:49:34 +0200 Subject: [PATCH] Add debug output to manual-multiarch-build action --- .ci/build.sh | 1 + .github/workflows/manual-multiarch-build.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.ci/build.sh b/.ci/build.sh index 899a881265..686267fc42 100755 --- a/.ci/build.sh +++ b/.ci/build.sh @@ -1,4 +1,5 @@ #! /bin/bash +if [[ "$1" == "--debug" ]]; then set -x; shift; fi #the below is supposed to handle both tags, branches when specified as argument: PACKAGE_VERSION="${1:-v0.0.0}" diff --git a/.github/workflows/manual-multiarch-build.yml b/.github/workflows/manual-multiarch-build.yml index d872b1e8f5..3e7349ca2a 100644 --- a/.github/workflows/manual-multiarch-build.yml +++ b/.github/workflows/manual-multiarch-build.yml @@ -23,10 +23,10 @@ jobs: with: fetch-depth: 0 - - name: Check environment + - name: Check/prepare environment run: | .ci/check-environment.sh - name: Build everything run: | - .ci/build.sh "${{ steps.get_version.outputs.VERSION }}" + .ci/build.sh --debug "${{ steps.get_version.outputs.VERSION }}"