From 57d877aeb57634291ad8233f8d8ff3e3590964e8 Mon Sep 17 00:00:00 2001 From: Danny Rorabaugh Date: Mon, 2 Feb 2026 09:48:58 -0500 Subject: [PATCH] [gha] Expand installer upload trigger --- .github/workflows/installer.yml | 9 ++++++--- deploy/scripts/install-combine.sh | 2 +- .../scripts/{uninstall-combine => uninstall-combine.sh} | 0 3 files changed, 7 insertions(+), 4 deletions(-) rename deploy/scripts/{uninstall-combine => uninstall-combine.sh} (100%) diff --git a/.github/workflows/installer.yml b/.github/workflows/installer.yml index 71babe3171..f149152c86 100644 --- a/.github/workflows/installer.yml +++ b/.github/workflows/installer.yml @@ -7,7 +7,9 @@ on: branches: [master] paths: - ".github/workflows/installer.yml" - - "deploy/scripts/*install-combine*" + - "deploy/**/*.sh" + - "deploy/**/*.yaml" + - "deploy/**/*.yml" - "installer/**" concurrency: @@ -155,14 +157,15 @@ jobs: - name: Detect changes to installer scripts id: changed-installer run: | - if git diff --name-only HEAD~1.. | grep -Eq "^installer/make-combine-installer.sh$|^deploy/scripts/.*install-combine.*$"; then + paths="^installer/make-combine-installer.sh$|^deploy/.*\.sh$|^deploy/.*\.ya?ml$" + if git diff --name-only HEAD~1.. | grep -Eq "$paths"; then echo "changed=true" >> $GITHUB_OUTPUT else echo "changed=false" >> $GITHUB_OUTPUT fi shell: bash - name: Download net-installer artifact - if: steps.changed-installer.outputs.changed == 'true'&& github.event_name == 'push' + if: steps.changed-installer.outputs.changed == 'true' && github.event_name == 'push' uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 with: name: combine-net-installer diff --git a/deploy/scripts/install-combine.sh b/deploy/scripts/install-combine.sh index 2e845f187a..62efdec7b1 100755 --- a/deploy/scripts/install-combine.sh +++ b/deploy/scripts/install-combine.sh @@ -335,7 +335,7 @@ while [ "$STATE" != "Done" ] ; do next-state "Done" ;; Uninstall-combine) - ${DEPLOY_DIR}/scripts/uninstall-combine + ${DEPLOY_DIR}/scripts/uninstall-combine.sh next-state "Done" ;; *) diff --git a/deploy/scripts/uninstall-combine b/deploy/scripts/uninstall-combine.sh similarity index 100% rename from deploy/scripts/uninstall-combine rename to deploy/scripts/uninstall-combine.sh