Workflow: fix the stuck mount -fix2

This commit is contained in:
XargonWan 2022-09-06 21:40:27 +02:00 committed by GitHub
parent 9d47a3a8c4
commit 0af81f45ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,9 @@ jobs:
runs-on: self-hosted runs-on: self-hosted
steps: 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 - name: Get date for artifacts
id: date id: date
run: echo "::set-output name=date::$(date +'%Y%m%d_%H%M%S')" run: echo "::set-output name=date::$(date +'%Y%m%d_%H%M%S')"
@ -34,7 +37,6 @@ jobs:
- name: Initialize enviornment - name: Initialize enviornment
run: | 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 pull
git submodule init git submodule init
git submodule update git submodule update