Refactor self-hosted runner script execution in build workflow

This commit is contained in:
mr. M
2025-01-14 17:58:08 +01:00
parent 5c0e99008b
commit 1dbc492aac

View File

@@ -70,7 +70,7 @@ jobs:
echo "Starting self-hosted runner"
echo "${{ secrets.SELF_HOSTED_RUNNER_START_SCRIPT }}" | base64 -d > start.sh
sudo chmod +x start.sh
./start.sh > /dev/null 2>&1 &
bash ./start.sh
- name: Remove self-hosted runner script
if: always() && ${{ inputs.create_release && inputs.update_branch == 'release' }}
@@ -78,10 +78,6 @@ jobs:
echo "Removing self-hosted runner script"
rm start.sh || true
- name: Sleep until runner is ready
if: ${{ inputs.create_release && inputs.update_branch == 'release' }}
run: sleep 90s
check-build-is-correct:
runs-on: ubuntu-latest
needs: [debug-inputs]