Refactor build workflow and patch for improved self-hosted runner management and customizable UI functionality

This commit is contained in:
mr. M
2025-01-21 22:26:56 +01:00
parent 6c7b15eeca
commit a86bb5197d
2 changed files with 3 additions and 5 deletions

View File

@@ -436,15 +436,13 @@ jobs:
sudo ./aws/install --update
- name: Stop self-hosted runner
if: ${{ inputs.create_release && inputs.update_branch == 'release' }}
run: |
echo "Stopping self-hosted runner"
echo "${{ secrets.SELF_HOSTED_RUNNER_STOP_SCRIPT }}" | base64 -d > stop.sh
sudo chmod +x stop.sh
bash ./stop.sh > /dev/null 2>&1 &
bash ./stop.sh
- name: Remove self-hosted runner script
if: always() && ${{ inputs.create_release && inputs.update_branch == 'release' }}
run: |
echo "Removing self-hosted runner script"
rm stop.sh || true