mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 15:35:38 +00:00
Merge pull request #559 from Gorian/patch-2
Update flatpak_build_download_only.sh
This commit is contained in:
commit
cf9fcf6654
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
git config --global protocol.file.allow always
|
git config --global protocol.file.allow always
|
||||||
|
|
||||||
if [ "${GITHUB_REF##*/}" = "main" ]; then
|
if [[ "${GITHUB_REF##*/}" == "main" ]]; then
|
||||||
BUNDLE_NAME="RetroDECK.flatpak"
|
BUNDLE_NAME="RetroDECK.flatpak"
|
||||||
FOLDER=retrodeck-flatpak-cooker
|
FOLDER=retrodeck-flatpak-cooker
|
||||||
else
|
else
|
||||||
|
@ -12,13 +12,12 @@ else
|
||||||
FOLDER=retrodeck-flatpak-cooker
|
FOLDER=retrodeck-flatpak-cooker
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -vp ${GITHUB_WORKSPACE}/local
|
mkdir -vp "${GITHUB_WORKSPACE}"/{local,retrodeck-flatpak-cooker}
|
||||||
mkdir -vp ${GITHUB_WORKSPACE}/retrodeck-flatpak-cooker
|
|
||||||
|
|
||||||
flatpak-builder --user --force-clean \
|
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" \
|
||||||
--download-only \
|
--download-only \
|
||||||
${GITHUB_WORKSPACE}/"$FOLDER" \
|
"${GITHUB_WORKSPACE}/${FOLDER}" \
|
||||||
net.retrodeck.retrodeck.yml
|
net.retrodeck.retrodeck.yml
|
||||||
|
|
Loading…
Reference in a new issue