Skip to content

Commit

Permalink
Build templates in separate CI step before building release
Browse files Browse the repository at this point in the history
  • Loading branch information
MingweiSamuel committed May 10, 2023
1 parent 081514a commit b46e8ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ jobs:
- name: Install dependencies
run: dotnet restore
- name: Build templates
# For some reason `dotnet build` doesn't find the generated `*.cs` files if we don't do this in a separate step.
run: dotnet build --configuration Release --no-restore --target:DispatchToInnerBuilds
- name: Build
run: dotnet build --configuration Release --no-restore -p:version=$env:CAMI_VERSION

Expand Down

0 comments on commit b46e8ce

Please sign in to comment.