mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 07:25:38 +00:00
WORKFLOW: fixing persistent build
This commit is contained in:
parent
62bcb0253f
commit
18a21db83c
|
@ -16,12 +16,23 @@ if [ $PERSISTENCE==true ]; then
|
||||||
mkdir -p "$HOME/cooker-persistent"
|
mkdir -p "$HOME/cooker-persistent"
|
||||||
GITHUB_WORKSPACE_BACKUP="$GITHUB_WORKSPACE"
|
GITHUB_WORKSPACE_BACKUP="$GITHUB_WORKSPACE"
|
||||||
GITHUB_WORKSPACE="$HOME/cooker-persistent"
|
GITHUB_WORKSPACE="$HOME/cooker-persistent"
|
||||||
fi
|
|
||||||
|
|
||||||
mkdir -vp ${GITHUB_WORKSPACE}/.local
|
flatpak-builder --user --force-clean \
|
||||||
mkdir -vp ${GITHUB_WORKSPACE}/"$FOLDER"
|
--install-deps-from=flathub \
|
||||||
|
--install-deps-from=flathub-beta \
|
||||||
|
--repo=${GITHUB_WORKSPACE}/.local \
|
||||||
|
--disable-download \
|
||||||
|
${GITHUB_WORKSPACE_BACKUP}/"$FOLDER" \
|
||||||
|
net.retrodeck.retrodeck.yml
|
||||||
|
|
||||||
flatpak-builder --user --force-clean \
|
GITHUB_WORKSPACE="$GITHUB_WORKSPACE_BACKUP"
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
mkdir -vp ${GITHUB_WORKSPACE}/.local
|
||||||
|
mkdir -vp ${GITHUB_WORKSPACE}/"$FOLDER"
|
||||||
|
|
||||||
|
flatpak-builder --user --force-clean \
|
||||||
--install-deps-from=flathub \
|
--install-deps-from=flathub \
|
||||||
--install-deps-from=flathub-beta \
|
--install-deps-from=flathub-beta \
|
||||||
--repo=${GITHUB_WORKSPACE}/.local \
|
--repo=${GITHUB_WORKSPACE}/.local \
|
||||||
|
@ -29,6 +40,4 @@ flatpak-builder --user --force-clean \
|
||||||
${GITHUB_WORKSPACE}/"$FOLDER" \
|
${GITHUB_WORKSPACE}/"$FOLDER" \
|
||||||
net.retrodeck.retrodeck.yml
|
net.retrodeck.retrodeck.yml
|
||||||
|
|
||||||
if [ $PERSISTENCE==true ]; then
|
|
||||||
GITHUB_WORKSPACE="$GITHUB_WORKSPACE_BACKUP"
|
|
||||||
fi
|
fi
|
Loading…
Reference in a new issue