mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 15:11:19 +02:00
.github: Update mantle in old LTS too
This commit is contained in:
parent
25883519d9
commit
3ebbbd01cb
4
.github/workflows/mantle-releases-main.yml
vendored
4
.github/workflows/mantle-releases-main.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
||||
get-mantle-release:
|
||||
strategy:
|
||||
matrix:
|
||||
branch: [main,alpha,beta,stable,lts]
|
||||
branch: [main,alpha,beta,stable,lts,lts-old]
|
||||
fail-fast: false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@ -20,6 +20,8 @@ jobs:
|
||||
run: |
|
||||
if [ ${{ matrix.branch }} = "main" ]; then
|
||||
echo ::set-output name=BRANCH::main
|
||||
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 }')
|
||||
echo ::set-output name=BRANCH::flatcar-${major}
|
||||
|
Loading…
x
Reference in New Issue
Block a user