Skip to content

Test install script #126

Test install script

Test install script #126

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
env:
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
jobs:
validate-assembler:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Bootstrap Action Workspace
id: bootstrap
uses: ./.github/actions/bootstrap
- name: Validate Navigation
run: dotnet run --project src/tooling/docs-assembler -c release -- navigation validate
- name: Validate Content Sources
run: dotnet run --project src/tooling/docs-assembler -c release -- content-source validate
build-lambda:
uses: ./.github/workflows/build-link-index-updater-lambda.yml
lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: src/Elastic.Markdown
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
cache-dependency-path: src/Elastic.Markdown/package-lock.json
node-version-file: .nvmrc
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Format
run: npm run fmt:check
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@v4
- name: Bootstrap Action Workspace
id: bootstrap
uses: ./.github/actions/bootstrap
- name: Build
run: dotnet run --project build -c release
- name: Test
run: dotnet run --project build -c release -- test
- name: Publish AOT
run: dotnet run --project build -c release -- publishbinaries
install-script:
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} - ${{ matrix.command }}
strategy:
matrix:
include:
- os: ubuntu-latest
command: ./install.sh
- os: macos-latest
command: ./install.sh
- os: windows-latest
command: .\install.sh
- os: windows-latest
command: .\install.ps1
shell: pwsh
steps:
- uses: actions/checkout@v4
- run: ${{ matrix.command }}
shell: ${{ matrix.shell }}

Check failure on line 105 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / ci

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 105, Col: 16): Unrecognized named-value: 'matrix'. Located at position 1 within expression: matrix.shell