mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-21 21:45:39 +00:00
WORKFLOW: fixing persistent build
This commit is contained in:
parent
18a21db83c
commit
679f3be898
|
@ -13,14 +13,26 @@ else
|
|||
fi
|
||||
|
||||
if [ $PERSISTENCE==true ]; then
|
||||
mkdir -p "$HOME/cooker-persistent"
|
||||
GITHUB_WORKSPACE_BACKUP="$GITHUB_WORKSPACE"
|
||||
GITHUB_WORKSPACE="$HOME/cooker-persistent"
|
||||
fi
|
||||
|
||||
mkdir -vp "${GITHUB_WORKSPACE}"/{local,retrodeck-flatpak-cooker}
|
||||
mkdir -vp "${GITHUB_WORKSPACE}"/{local,retrodeck-flatpak-cooker}
|
||||
|
||||
flatpak-builder --user --force-clean \
|
||||
flatpak-builder --user --force-clean \
|
||||
--install-deps-from=flathub \
|
||||
--install-deps-from=flathub-beta \
|
||||
--repo="${GITHUB_WORKSPACE}/.local" \
|
||||
--download-only \
|
||||
"${GITHUB_WORKSPACE_BACKUP}/${FOLDER}" \
|
||||
net.retrodeck.retrodeck.yml
|
||||
|
||||
GITHUB_WORKSPACE="$GITHUB_WORKSPACE_BACKUP"
|
||||
|
||||
else
|
||||
|
||||
mkdir -vp "${GITHUB_WORKSPACE}"/{local,retrodeck-flatpak-cooker}
|
||||
|
||||
flatpak-builder --user --force-clean \
|
||||
--install-deps-from=flathub \
|
||||
--install-deps-from=flathub-beta \
|
||||
--repo="${GITHUB_WORKSPACE}/.local" \
|
||||
|
@ -28,6 +40,4 @@ flatpak-builder --user --force-clean \
|
|||
"${GITHUB_WORKSPACE}/${FOLDER}" \
|
||||
net.retrodeck.retrodeck.yml
|
||||
|
||||
if [ $PERSISTENCE==true ]; then
|
||||
GITHUB_WORKSPACE="$GITHUB_WORKSPACE_BACKUP"
|
||||
fi
|
||||
|
|
|
@ -13,10 +13,13 @@ else
|
|||
fi
|
||||
|
||||
if [ $PERSISTENCE==true ]; then
|
||||
mkdir -p "$HOME/cooker-persistent"
|
||||
|
||||
GITHUB_WORKSPACE_BACKUP="$GITHUB_WORKSPACE"
|
||||
GITHUB_WORKSPACE="$HOME/cooker-persistent"
|
||||
|
||||
mkdir -vp ${GITHUB_WORKSPACE}/.local
|
||||
mkdir -vp ${GITHUB_WORKSPACE}/"$FOLDER"
|
||||
|
||||
flatpak-builder --user --force-clean \
|
||||
--install-deps-from=flathub \
|
||||
--install-deps-from=flathub-beta \
|
||||
|
|
Loading…
Reference in a new issue