Skip to content

Commit 4ba8f98

Browse files
committed
Remove scripts and put them in GH action
1 parent e0358e8 commit 4ba8f98

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

.github/workflows/generate-api-diffs.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,19 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v4
17-
17+
18+
- uses: actions/setup-dotnet@v4
19+
with:
20+
dotnet-version: |
21+
8.0.x
22+
9.0.x
23+
1824
- name: Restore and build
19-
run: ./eng/apicompat/generate-api-diffs.sh
25+
run: |
26+
27+
find src -type f -name "*.csproj" | while read -r csproj; do
28+
dotnet build "$csproj" -f net8.0 --configuration Release --no-incremental -t:Build -t:GenAPIGenerateReferenceAssemblySource
29+
done
2030
continue-on-error: true
2131

2232
- name: Create or update pull request

eng/apicompat/generate-api-diffs.cmd

Lines changed: 0 additions & 3 deletions
This file was deleted.

eng/apicompat/generate-api-diffs.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)