.github: Fix syntax error

This commit is contained in:
Krzesimir Nowak 2022-09-26 15:14:35 +02:00 committed by GitHub
parent 12bf11ad05
commit 527d174b50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ jobs:
run: |
if [ ${{ matrix.branch }} = "main" ]; then
echo ::set-output name=BRANCH::main
elif [[ ${{ matrix.branch }} = 'lts-old'; then
elif [[ ${{ matrix.branch }} = 'lts-old' ]]; then
echo ::set-output name=BRANCH::flatcar-lts-2605
else
major=$(curl -sSL https://${{ matrix.branch }}.release.flatcar-linux.net/amd64-usr/current/version.txt | awk -F= '/FLATCAR_BUILD=/{ print $2 }')