Skip to content

Commit

Permalink
Added checking solutions logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryanb58 committed Jun 6, 2023
1 parent 9abd5df commit 2111243
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build-and-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
POWERPLATFORM_USERNAME: ${{ secrets.POWERPLATFORM_USERNAME }}
POWERPLATFORM_PASSWORD: ${{ secrets.POWERPLATFORM_PASSWORD }}

- name: Build projects
- name: Build Solutions
run: |
Get-ChildItem -Recurse -Filter "*.cdsproj" |
ForEach-Object {
Expand All @@ -45,4 +45,11 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: release-artifacts
path: '**/bin/Release/*.zip'
path: '**/bin/Release/*.zip'

- name: Check Solutions
run: |
Get-ChildItem -Recurse -Filter "**/bin/Release/*.zip" |
ForEach-Object {
pac solution check --path $_.FullName
}

0 comments on commit 2111243

Please sign in to comment.