Skip to content

Commit

Permalink
Update build-and-check.yml
Browse files Browse the repository at this point in the history
Removed checker steps.

Just tries to build the solutions.
  • Loading branch information
Ryanb58 authored Oct 19, 2023
1 parent 4c98da6 commit 4263e51
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/build-and-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ jobs:
run: |
dotnet tool install --global Microsoft.PowerApps.CLI.Tool
- name: Auth
run: |
pac auth create --kind CDS --url ${{ secrets.POWERPLATFORM_URL }} --username ${{ secrets.POWERPLATFORM_USERNAME }} --password ${{ secrets.POWERPLATFORM_PASSWORD }}
env:
POWERPLATFORM_URL: ${{ secrets.POWERPLATFORM_URL }}
POWERPLATFORM_USERNAME: ${{ secrets.POWERPLATFORM_USERNAME }}
POWERPLATFORM_PASSWORD: ${{ secrets.POWERPLATFORM_PASSWORD }}
# - name: Auth
# run: |
# pac auth create --kind CDS --url ${{ secrets.POWERPLATFORM_URL }} --username ${{ secrets.POWERPLATFORM_USERNAME }} --password ${{ secrets.POWERPLATFORM_PASSWORD }}
# env:
# POWERPLATFORM_URL: ${{ secrets.POWERPLATFORM_URL }}
# POWERPLATFORM_USERNAME: ${{ secrets.POWERPLATFORM_USERNAME }}
# POWERPLATFORM_PASSWORD: ${{ secrets.POWERPLATFORM_PASSWORD }}

- name: Build Solutions
run: |
Expand All @@ -41,15 +41,15 @@ jobs:
msbuild /p:configuration=Release $_.FullName
}
- name: Publish artifacts
uses: actions/upload-artifact@v2
with:
name: release-artifacts
path: '**/bin/Release/*.zip'

- name: Check Solutions
run: |
Get-ChildItem -Path '.' -Directory -Recurse |
Where-Object { $_.FullName.EndsWith('bin\Release') } |
ForEach-Object { Get-ChildItem -Path (Join-Path $_.FullName '*.zip') |
ForEach-Object { pac solution check --path $_.FullName } }
# - name: Publish artifacts
# uses: actions/upload-artifact@v2
# with:
# name: release-artifacts
# path: '**/bin/Release/*.zip'

# - name: Check Solutions
# run: |
# Get-ChildItem -Path '.' -Directory -Recurse |
# Where-Object { $_.FullName.EndsWith('bin\Release') } |
# ForEach-Object { Get-ChildItem -Path (Join-Path $_.FullName '*.zip') |
# ForEach-Object { pac solution check --path $_.FullName } }

0 comments on commit 4263e51

Please sign in to comment.