Skip to content

Regenerate client using the latest specification (#8369) #1

Regenerate client using the latest specification (#8369)

Regenerate client using the latest specification (#8369) #1

Workflow file for this run

name: Stale
on:
pull_request:
paths-ignore:
- 'README.md'
- '.editorconfig'
push:
paths-ignore:
- 'README.md'
- '.editorconfig'
branches:
- main
- '[0-9]+.[0-9]+'
- '[0-9]+.x'
jobs:
unit-tests:
name: Documentation
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.100'
- uses: actions/cache@v3
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
- run: ./build.sh documentation
name: Build docs
- run: |
if [ -n "$(git status --porcelain)" ]; then echo Error: changes found after running documentation; git diff; git status; exit 1; fi
name: 'Ensure no stale docs'
if: github.event_name == 'pull_request' && startswith(github.ref, 'refs/heads') && github.repository == 'elastic/elasticsearch-net'