docs: adjust version in maintenance #1325
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file was generated using Kotlin DSL (.github/workflows/check-if-action-bindings-up-to-date.main.kts). | |
# If you want to modify the workflow, please change the Kotlin file and regenerate this YAML file. | |
# Generated with https://github.com/typesafegithub/github-workflows-kt | |
name: 'Check if action bindings up to date' | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: {} | |
workflow_dispatch: {} | |
jobs: | |
check_yaml_consistency: | |
name: 'Check YAML consistency' | |
runs-on: 'ubuntu-latest' | |
steps: | |
- id: 'step-0' | |
name: 'Check out' | |
uses: 'actions/checkout@v4' | |
- id: 'step-1' | |
name: 'Execute script' | |
run: 'rm ''.github/workflows/check-if-action-bindings-up-to-date.yaml'' && ''.github/workflows/check-if-action-bindings-up-to-date.main.kts''' | |
- id: 'step-2' | |
name: 'Consistency check' | |
run: 'git diff --exit-code ''.github/workflows/check-if-action-bindings-up-to-date.yaml''' | |
check-on-UbuntuLatest: | |
runs-on: 'ubuntu-latest' | |
needs: | |
- 'check_yaml_consistency' | |
steps: | |
- id: 'step-0' | |
uses: 'actions/checkout@v4' | |
- id: 'step-1' | |
name: 'Set up JDK' | |
uses: 'actions/setup-java@v4' | |
with: | |
java-version: '11' | |
distribution: 'zulu' | |
- id: 'step-2' | |
uses: 'gradle/actions/setup-gradle@v3' | |
- id: 'step-3' | |
name: 'Generate action bindings' | |
run: './gradlew :automation:code-generator:run' | |
- id: 'step-4' | |
name: 'Fail if there are any changes in the generated action bindings or their list in the docs' | |
run: 'git diff --exit-code github-workflows-kt/src/gen/ docs/supported-actions.md' | |
check-on-Windows2022: | |
runs-on: 'windows-2022' | |
needs: | |
- 'check_yaml_consistency' | |
steps: | |
- id: 'step-0' | |
uses: 'actions/checkout@v4' | |
- id: 'step-1' | |
name: 'Set up JDK' | |
uses: 'actions/setup-java@v4' | |
with: | |
java-version: '11' | |
distribution: 'zulu' | |
- id: 'step-2' | |
uses: 'gradle/actions/setup-gradle@v3' | |
- id: 'step-3' | |
name: 'Generate action bindings' | |
run: './gradlew :automation:code-generator:run' | |
- id: 'step-4' | |
name: 'Fail if there are any changes in the generated action bindings or their list in the docs' | |
run: 'git diff --exit-code github-workflows-kt/src/gen/ docs/supported-actions.md' |