ci: add support for new stable nixos-24.11 branch

This commit is contained in:
Gaetan Lepage 2024-11-30 21:11:41 +01:00
parent a35f923d6a
commit 880a570588
2 changed files with 15 additions and 0 deletions

View file

@ -57,6 +57,11 @@ jobs:
"branch": "main",
"nixpkgsBranch": "nixos-unstable"
},
{
"branch": "nixos-24.11",
"nixpkgsBranch": "nixos-24.11",
"subPath": "24.11"
},
{
"branch": "nixos-24.05",
"nixpkgsBranch": "nixos-24.05",

View file

@ -14,6 +14,9 @@ on:
type: boolean
default: true
description: Update generated files
nixos-24.11:
type: boolean
description: Also update nixos-24.11
nixos-24.05:
type: boolean
description: Also update nixos-24.05
@ -43,6 +46,13 @@ jobs:
ssh-key: ${{ secrets.CI_UPDATE_SSH_KEY }}
# NOTE: If additional "inputs" are added, copy this step
- name: Update nixos-24.11
if: inputs['nixos-24.11'] || github.event_name == 'schedule'
env:
GH_TOKEN: ${{ github.token }}
run: |
gh workflow run update.yml --ref nixos-24.11
- name: Update nixos-24.05
if: inputs['nixos-24.05'] || github.event_name == 'schedule'
env: