mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-23 06:25:39 +00:00
Workflow: fix the stuck mount -fix2
This commit is contained in:
parent
9d47a3a8c4
commit
0af81f45ee
4
.github/workflows/cooker-selfhosted.yml
vendored
4
.github/workflows/cooker-selfhosted.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue