mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 23:21:17 +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:
|
get-mantle-release:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
branch: [main,alpha,beta,stable,lts]
|
branch: [main,alpha,beta,stable,lts,lts-old]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@ -20,6 +20,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if [ ${{ matrix.branch }} = "main" ]; then
|
if [ ${{ matrix.branch }} = "main" ]; then
|
||||||
echo ::set-output name=BRANCH::main
|
echo ::set-output name=BRANCH::main
|
||||||
|
elif [[ ${{ matrix.branch }} = 'lts-old'; then
|
||||||
|
echo ::set-output name=BRANCH::flatcar-lts-2605
|
||||||
else
|
else
|
||||||
major=$(curl -sSL https://${{ matrix.branch }}.release.flatcar-linux.net/amd64-usr/current/version.txt | awk -F= '/FLATCAR_BUILD=/{ print $2 }')
|
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}
|
echo ::set-output name=BRANCH::flatcar-${major}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user