diff --git a/.github/workflows/update-other.yml b/.github/workflows/update-other.yml index 4db2eab7..2d9123a6 100644 --- a/.github/workflows/update-other.yml +++ b/.github/workflows/update-other.yml @@ -15,17 +15,21 @@ jobs: runs-on: ubuntu-24.04-arm if: github.repository == 'nix-community/nixvim' outputs: - branches: ${{ steps.list-branches.outputs.branches }} + branches: ${{ steps.list-branches.outputs.result }} steps: + - name: Checkout version-info + uses: actions/checkout@v4 + with: + sparse-checkout: version-info.toml + sparse-checkout-cone-mode: false - name: List stable branches id: list-branches - run: | - echo 'branches<> "$GITHUB_OUTPUT" + uses: mikefarah/yq@master + with: + cmd: | + yq --no-colors --output-format=json \ + '[ .versions[].branch | select(. != "main") ]' \ + version-info.toml update: name: Trigger update on ${{ matrix.branch }} runs-on: ubuntu-24.04-arm