Skip to content

Commit

Permalink
Merge pull request #5 from openai-ae/staging
Browse files Browse the repository at this point in the history
Update branches and try to fix up the workflow
  • Loading branch information
sppidy authored Jan 11, 2025
2 parents 354918c + 3add2c1 commit 4f89adc
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
# Check if the Docker image exists; build if not
if [ -z "$(docker images -q $IMAGE_NAME)" ]; then
echo "Building Docker image: $IMAGE_NAME"
docker build -t $IMAGE_NAME - <<EOF
FROM archlinux:latest
RUN pacman -Sy --noconfirm archiso base-devel git
EOF
docker build -t $IMAGE_NAME - <<'EOF'
FROM archlinux:latest
RUN pacman -Sy --noconfirm archiso base-devel git
EOF
else
echo "Docker image $IMAGE_NAME already exists."
fi
Expand All @@ -40,7 +40,7 @@ jobs:
IMAGE_NAME: archlinux_sunnyos
run: |
# Define the branches and corresponding desktop environments
branches=("sunnyos_gnome" "sunnyos_kde" "sunnyos_xfce")
branches=("sunnyos_gnome" "sunnyos_budgie" "lite_gnome")
# Start the Docker container for building
docker run --rm --privileged \
Expand All @@ -53,10 +53,10 @@ jobs:
# Determine the desktop environment based on the branch
case $branch in
sunnyos_gnome) desktop_env='gnome' ;;
sunnyos_kde) desktop_env='kde' ;;
sunnyos_xfce) desktop_env='xfce' ;;
*) desktop_env='default' ;;
sunnyos_gnome) desktop_env='gnome' ;;
sunnyos_budgie) desktop_env='budgie' ;;
lite_gnome) desktop_env='lite_gnome' ;; # Separate profile for the lite version
*) desktop_env='default' ;;
esac
echo 'Building ISO with $desktop_env for branch $branch'
Expand Down

0 comments on commit 4f89adc

Please sign in to comment.