Skip to content

docs: [Google.Cloud.Batch.V1] Update reservation field to include NO_RESERVATION #12081

docs: [Google.Cloud.Batch.V1] Update reservation field to include NO_RESERVATION

docs: [Google.Cloud.Batch.V1] Update reservation field to include NO_RESERVATION #12081

Workflow file for this run

name: Build and test PR (changed APIs only)
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
env:
DOTNET_NOLOGO: true
strategy:
matrix:
regex: ["'Google\\.Cloud\\.[A-L].*'", "'Google\\.Cloud\\.[M-Z].*'", "'!Google\\.Cloud'"]
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 100
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
# The GitHub checkout action leaves the repo in a slightly awkward
# state. This tidies it up.
- name: Set up git branches
run: |
git checkout -b pr-head
git checkout -b main ${{ github.event.pull_request.base.sha }}
git checkout pr-head
- name: Detect CRLF files
run: |
! git ls-files --eol | grep -e i/crlf -e i/mixed
- name: Build and test
run: |
touch build_timing_log.txt
./build.sh --diff --regex ${{ matrix.regex }}
./processbuildtiminglog.sh