Skip to content

✅Build Status Check (preview branch) #58

✅Build Status Check (preview branch)

✅Build Status Check (preview branch) #58

name: ✅Build Status Check
run-name: ✅Build Status Check (${{ github.base_ref }} branch)
defaults:
run:
shell: pwsh
on:
pull_request:
branches: [main, preview]
jobs:
main_build_status_check:
name: Build ${{ vars.PROJECT_NAME }}
uses: KinsonDigital/Infrastructure/.github/workflows/build-csharp-project.yml@v12.0.0
with:
project-name: "${{ vars.PROJECT_NAME }}"
build-config: Debug
net-sdk-version: "${{ vars.NET_SDK_VERSION }}"
perf_build_status_check:
name: Build ${{ vars.PROJECT_NAME }}PerfTests
uses: KinsonDigital/Infrastructure/.github/workflows/build-csharp-project.yml@v12.0.0
with:
project-name: "${{ vars.PROJECT_NAME }}PerfTests"
build-config: Debug
net-sdk-version: "${{ vars.NET_SDK_VERSION }}"
build_status_check:
name: ${{ vars.PROJECT_NAME }} Build Status Check
needs: [main_build_status_check, perf_build_status_check]
runs-on: ubuntu-latest
steps:
- name: Print Status Check Pass Message
shell: pwsh
run: Write-Host "::notice::✅Test Status Check Passed✅";