From 880a57058862752aed6d0215697718c4f646f299 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 30 Nov 2024 21:11:41 +0100 Subject: [PATCH] ci: add support for new stable nixos-24.11 branch --- .github/workflows/build_documentation.yml | 5 +++++ .github/workflows/update.yml | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/.github/workflows/build_documentation.yml b/.github/workflows/build_documentation.yml index 6b7f6381..6392f030 100644 --- a/.github/workflows/build_documentation.yml +++ b/.github/workflows/build_documentation.yml @@ -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", diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index fe5939f8..a7da3e75 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -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: