Update dependency macos to v13 #211
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: Typescript Headers Diff | |
on: | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
typescript-headers-diff: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Java JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: "temurin" | |
java-version-file: ".java-version" | |
- name: Generate current TypeScript headers | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: :publish:npm:jsBrowserProductionLibraryPrepare --scan | |
- name: Copy current TypeScript headers | |
run: | | |
mkdir -p $GITHUB_WORKSPACE/diff/head | |
cp publishing/npm/build/dist/js/productionLibrary/*.d.ts diff/head | |
cp publishing/npm/build/dist/js/productionLibrary/*.json diff/head | |
- name: Checkout base | |
run: git checkout $GITHUB_BASE_REF | |
- name: Generate base TypeScript headers | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: clean :publish:npm:jsBrowserProductionLibraryPrepare --scan | |
- name: Copy base TypeScript headers | |
run: | | |
mkdir -p $GITHUB_WORKSPACE/diff/base | |
cp publishing/npm/build/dist/js/productionLibrary/*.d.ts diff/base | |
cp publishing/npm/build/dist/js/productionLibrary/*.json diff/base | |
- uses: int128/diff-action@v1 | |
with: | |
base: "${{ github.workspace }}/diff/base" | |
head: "${{ github.workspace }}/diff/head" |