From 51e0f094d6d830d1baf319388a0313fbb4e978ab 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..f3308ea 100644 --- a/.github/workflows/build_pkg.yml +++ b/.github/workflows/build_pkg.yml @@ -34,6 +34,7 @@ on: default: "" jobs: source: + if: ${{ github.ref_type == 'tag' }} name: source package outputs: pkg: ${{ steps.build.outputs.pkg }} 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