mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
ci/update-other: use a job matrix
This will allow us to add/remove other branches to schedule updates for more easily.
This commit is contained in:
parent
5121c309b3
commit
30c2292b29
1 changed files with 7 additions and 2 deletions
9
.github/workflows/update-other.yml
vendored
9
.github/workflows/update-other.yml
vendored
|
@ -12,11 +12,16 @@ jobs:
|
|||
update:
|
||||
name: Trigger updates for nixvim's stable branches
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
branches:
|
||||
- nixos-24.11
|
||||
steps:
|
||||
- name: Update nixos-24.11
|
||||
- name: Update ${{ matrix.branches }}
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
repo: ${{ github.repository }}
|
||||
branch: ${{ matrix.branches }}
|
||||
run: |
|
||||
gh --repo "$repo" workflow run \
|
||||
update.yml --ref nixos-24.11
|
||||
update.yml --ref "$branch"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue