Microsoft.Search 2025-02-01-preview Type Fix #121
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
name: ARM Incremental Typespec (Preview) | |
on: pull_request | |
permissions: | |
contents: read | |
jobs: | |
arm-incremental-typespec-preview: | |
name: ARM Incremental Typespec (Preview) | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# Required to detect changed files in PR | |
fetch-depth: 2 | |
# Output is "true" if PR contains only incremental changes to an existing TypeSpec RP | |
- id: incremental-typespec | |
name: ARM Incremental Typespec (Preview) | |
uses: actions/github-script@v7 | |
with: | |
result-encoding: string | |
script: | | |
const { default: incrementalTypespec } = | |
await import('${{ github.workspace }}/.github/workflows/src/arm-incremental-typespec-preview.js'); | |
return await incrementalTypespec({ github, context, core }); | |
- name: Upload artifact with results | |
uses: ./.github/actions/add-empty-artifact | |
with: | |
name: "incremental-typespec" | |
value: ${{ steps.incremental-typespec.outputs.result }} |