WORKFLOW: fixing persistent build

This commit is contained in:
XargonWan 2023-12-20 11:47:25 +01:00
parent 39a339bd07
commit a35a01ef35
3 changed files with 5 additions and 6 deletions

View file

@ -3,7 +3,6 @@
# This is building the bundle RetroDECK.flatpak after the download and build steps are done
if [ $PERSISTENCE==true ]; then
mkdir -p "$HOME/cooker-persistent"
GITHUB_WORKSPACE_BACKUP="$GITHUB_WORKSPACE"
GITHUB_WORKSPACE="$HOME/cooker-persistent"
fi

View file

@ -23,8 +23,8 @@ if [ $PERSISTENCE==true ]; then
--install-deps-from=flathub-beta \
--repo="${GITHUB_WORKSPACE}/.local" \
--download-only \
"${GITHUB_WORKSPACE_BACKUP}/${FOLDER}" \
net.retrodeck.retrodeck.yml
"${GITHUB_WORKSPACE}/${FOLDER}" \
"${GITHUB_WORKSPACE_BACKUP}/${FOLDER}"/net.retrodeck.retrodeck.yml
GITHUB_WORKSPACE="$GITHUB_WORKSPACE_BACKUP"

View file

@ -23,10 +23,10 @@ if [ $PERSISTENCE==true ]; then
flatpak-builder --user --force-clean \
--install-deps-from=flathub \
--install-deps-from=flathub-beta \
--repo=${GITHUB_WORKSPACE}/.local \
--repo="${GITHUB_WORKSPACE}/.local" \
--disable-download \
${GITHUB_WORKSPACE_BACKUP}/"$FOLDER" \
net.retrodeck.retrodeck.yml
"${GITHUB_WORKSPACE}/${FOLDER}" \
"${GITHUB_WORKSPACE_BACKUP}/${FOLDER}"/net.retrodeck.retrodeck.yml
GITHUB_WORKSPACE="$GITHUB_WORKSPACE_BACKUP"