From 9a64e5c3bceb7e1ba3ad5618616330395de8c6e5 Mon Sep 17 00:00:00 2001 From: Michael Sprengel Date: Mon, 27 Nov 2023 11:41:11 +0100 Subject: [PATCH] Fix typo related to debian_source --- .github/workflows/build_pkg.yml | 1 + container/bin/build_source | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_pkg.yml b/.github/workflows/build_pkg.yml index dfe3c45..f734b0f 100644 --- a/.github/workflows/build_pkg.yml +++ b/.github/workflows/build_pkg.yml @@ -40,6 +40,7 @@ jobs: build_options: ${{ steps.build.outputs.build_options }} release: ${{ steps.release.outputs.release }} runs-on: ubuntu-latest + if: github.ref_type == 'tag' steps: - uses: actions/checkout@v4 with: diff --git a/container/bin/build_source b/container/bin/build_source index 9e6bafa..9d43447 100755 --- a/container/bin/build_source +++ b/container/bin/build_source @@ -17,7 +17,7 @@ main() ( # Init some variables name="$(yq -r '.name' < "$inputs_file")" source="$(yq -r --arg name "$name" '.jobs[$name].with.source // "'$name'"' < "$inputs_file")" - debian_source="$(yq -r --arg name "$name" '.jobs[$name].with.debian_src // "'$debian_source'"' < "$inputs_file")" + debian_source="$(yq -r --arg name "$name" '.jobs[$name].with.debian_source // "'$debian_source'"' < "$inputs_file")" build_options="terse $(yq -r --arg name "$name" '.jobs[$name].with.build_options // ""' < "$inputs_file")" # Define Build Options