From 0af81f45ee554580e5aad9f27b0dd0a99044cc87 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Tue, 6 Sep 2022 21:40:27 +0200 Subject: [PATCH] Workflow: fix the stuck mount -fix2 --- .github/workflows/cooker-selfhosted.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cooker-selfhosted.yml b/.github/workflows/cooker-selfhosted.yml index 9b039617..6c779de7 100644 --- a/.github/workflows/cooker-selfhosted.yml +++ b/.github/workflows/cooker-selfhosted.yml @@ -17,6 +17,9 @@ jobs: runs-on: self-hosted steps: + - name: Remove stuck mounts + run: while [[ $(findmnt /home/administrator/actions-runner/_work/RetroDECK/RetroDECK/.flatpak-builder/rofiles) != "" ]]; do sudo umount /home/administrator/actions-runner/_work/RetroDECK/RetroDECK/.flatpak-builder/rofiles; done + - name: Get date for artifacts id: date run: echo "::set-output name=date::$(date +'%Y%m%d_%H%M%S')" @@ -34,7 +37,6 @@ jobs: - name: Initialize enviornment run: | - while [[ $(findmnt /home/administrator/actions-runner/_work/RetroDECK/RetroDECK/.flatpak-builder/rofiles) != "" ]]; do sudo umount /home/administrator/actions-runner/_work/RetroDECK/RetroDECK/.flatpak-builder/rofiles; done git pull git submodule init git submodule update