fix(http-specs): accept 7-digit fractional seconds datetime in ModelWithDatetime XML scenario #4086
This file contains hidden or 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
| name: CI | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - release/* | |
| paths-ignore: | |
| - "website/**" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| preview: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 ## Needed for Changesets to find `main` branch | |
| - uses: actions/setup-dotnet@v5 | |
| name: Setup .NET | |
| with: | |
| # Automatically read .NET SDK version from global.json to stay in sync | |
| global-json-file: packages/http-client-csharp/global.json | |
| - uses: ./.github/actions/setup | |
| - name: Install dependencies | |
| run: npx tsx eng/tsp-core/tpm/cli.ts install --since origin/main | |
| - name: Build | |
| run: npx tsx eng/tsp-core/tpm/cli.ts build --since origin/main | |
| - name: Bump version to prerelease targets | |
| run: pnpm chronus version --prerelease "{nextVersion}-pr.${{ github.event.pull_request.number }}.${{ github.run_number }}" | |
| - run: pnpm tsx eng/tsp-core/pkg-pr-new.ts |