Skip to content

Commit

Permalink
Add jammy option
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed Apr 2, 2022
1 parent 4e7f028 commit 10fe1a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-armbian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
workflow_dispatch:
inputs:
set_branch:
description: "Branch: legacy / current / edge"
description: "Branch: edge / current / legacy"
required: false
default: "current"
set_release:
Expand Down Expand Up @@ -54,14 +54,14 @@ jobs:
sudo chown $USER:$GROUPS /workdir
echo "COMPILE_STARTINGTIME=$(date +"%m.%d.%H%M")" >> $GITHUB_ENV
ARR_BRANCH=("legacy" "current" "edge")
ARR_BRANCH=("edge" "current" "legacy")
set_branch="${{ github.event.inputs.set_branch }}"
if [[ -z "${set_branch}" || -z "$(echo "${ARR_BRANCH[@]}" | grep -w "${set_branch}")" ]]; then
set_branch="current"
fi
echo "ARMBIAN_BRANCH=${set_branch}" >> $GITHUB_ENV
ARR_RELEASE=("focal" "bullseye" "buster")
ARR_RELEASE=("jammy" "focal" "bullseye" "buster")
set_release="${{ github.event.inputs.set_release }}"
if [[ -z "${set_release}" || -z "$(echo "${ARR_RELEASE[@]}" | grep -w "${set_release}")" ]]; then
set_release="focal"
Expand Down

0 comments on commit 10fe1a1

Please sign in to comment.