Add fallback to remove self-hosted runner scripts without error

This commit is contained in:
mr. M
2025-01-13 00:45:20 +01:00
parent e9c662cbf7
commit 661916eac6

View File

@@ -76,7 +76,7 @@ jobs:
if: always() && ${{ inputs.create_release && inputs.update_branch == 'release' }}
run: |
echo "Removing self-hosted runner script"
rm start.sh
rm start.sh || true
- name: Sleep until runner is ready
if: ${{ inputs.create_release && inputs.update_branch == 'release' }}
@@ -451,7 +451,7 @@ jobs:
if: always() && ${{ inputs.create_release && inputs.update_branch == 'release' }}
run: |
echo "Removing self-hosted runner script"
rm stop.sh
rm stop.sh || true
release:
if: ${{ inputs.create_release || inputs.update_branch == 'twilight' }}