File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed
Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ name: Build (PR)
33on :
44 pull_request :
55 branches : [ master ]
6+ paths-ignore :
7+ - ' Generator/*.*'
8+ - ' Types/**/*.g.cs'
9+ - ' .github/workflows/pr-generator.yml'
610
711jobs :
812 build :
Original file line number Diff line number Diff line change 6767 git commit -m "chore(types): update generated types (PR auto-update)"
6868 git push
6969 env :
70- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
70+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
71+
72+ build :
73+ runs-on : ubuntu-latest
74+ needs : generate-and-commit
75+
76+ steps :
77+ - name : Checkout PR branch
78+ uses : actions/checkout@v4
79+ with :
80+ fetch-depth : 0
81+ ref : ${{ github.head_ref }}
82+
83+ - name : Setup .NET 9
84+ uses : actions/setup-dotnet@v4
85+ with :
86+ dotnet-version : ' 9.0.x'
87+
88+ - name : Restore dependencies
89+ run : dotnet restore
90+
91+ - name : Build solution
92+ run : dotnet build --no-restore --configuration Release
You can’t perform that action at this time.
0 commit comments