mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
13 lines
440 B
Bash
Executable file
13 lines
440 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# This is building the bundle RetroDECK.flatpak after the download and build steps are done
|
|
|
|
BUILD_DIR="$HOME/cooker-persistent"
|
|
mkdir -p "$BUILD_DIR"
|
|
|
|
if [ "${GITHUB_REF##*/}" = "main" ]; then
|
|
flatpak build-bundle "${BUILD_DIR}/.local" "$GITHUB_WORKSPACE/RetroDECK.flatpak" net.retrodeck.retrodeck
|
|
else
|
|
flatpak build-bundle "${BUILD_DIR}/.local" "$GITHUB_WORKSPACE/RetroDECK-cooker.flatpak" net.retrodeck.retrodeck
|
|
fi
|