diff options
| author | dundargoc <gocdundar@gmail.com> | 2024-02-10 15:33:57 +0100 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-02-10 19:49:14 +0100 |
| commit | 6444286cbf3a37862feaa7ff86456dd948f5cf8b (patch) | |
| tree | 146ca195ed5c7f74a955029626f856437f7a149e /.github/workflows/test-queries.yml | |
| parent | ci: use `windows-latest` over `windows-2022` (diff) | |
| download | nvim-treesitter-6444286cbf3a37862feaa7ff86456dd948f5cf8b.tar nvim-treesitter-6444286cbf3a37862feaa7ff86456dd948f5cf8b.tar.gz nvim-treesitter-6444286cbf3a37862feaa7ff86456dd948f5cf8b.tar.bz2 nvim-treesitter-6444286cbf3a37862feaa7ff86456dd948f5cf8b.tar.lz nvim-treesitter-6444286cbf3a37862feaa7ff86456dd948f5cf8b.tar.xz nvim-treesitter-6444286cbf3a37862feaa7ff86456dd948f5cf8b.tar.zst nvim-treesitter-6444286cbf3a37862feaa7ff86456dd948f5cf8b.zip | |
ci: fix invalid workflow
Context variables aren't always available, so we can't rely on them for
e.g. environment variables.
Also merge all install scripts into `script/ci-install.sh`, that way it
can be called the same way regardless of system.
Diffstat (limited to '.github/workflows/test-queries.yml')
| -rw-r--r-- | .github/workflows/test-queries.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/test-queries.yml b/.github/workflows/test-queries.yml index 0d713c836..e1606f2fc 100644 --- a/.github/workflows/test-queries.yml +++ b/.github/workflows/test-queries.yml @@ -51,8 +51,8 @@ jobs: runs-on: ${{ matrix.os }} env: CC: ${{ matrix.cc }} - NVIM: ${{ runner.os == 'Windows' && 'nvim-win64\\bin\\nvim.exe' || 'nvim' }} - ALLOWED_INSTALLATION_FAILURES: ${{ runner.os == 'Windows' && 'rnoweb' }} + NVIM: ${{ matrix.os == 'windows-latest' && 'nvim-win64\\bin\\nvim.exe' || 'nvim' }} + ALLOWED_INSTALLATION_FAILURES: ${{ matrix.os == 'windows-latest' && 'rnoweb' }} steps: - uses: actions/checkout@v4 - uses: ilammy/msvc-dev-cmd@v1 @@ -65,7 +65,7 @@ jobs: env: NVIM_TAG: ${{ matrix.nvim_tag }} run: | - bash ./scripts/ci-install-${{ matrix.os }}.sh + bash ./scripts/ci-install.sh - name: Setup Parsers Cache id: parsers-cache |
