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