Skip to content

Migration from AutomationIoC Project #1

Migration from AutomationIoC Project

Migration from AutomationIoC Project #1

name: Continuous Integration
on:
push:
branches:
- main
paths-ignore:
- "docs/**"
- "**/README.md"
pull_request:
branches:
- main
paths-ignore:
- "docs/**"
- "**/README.md"
release:
types:
- published
jobs:
build-runtime:
uses: ./.github/workflows/template-build-test-project.yml
with:
name: "BlazorFocused.Automation.Runtime Build"
source-directory: ./src/Runtime/src
source-project: BlazorFocused.Automation.Runtime.csproj
test-directory: ./src/Runtime/test
test-project: BlazorFocused.Automation.Runtime.Test.csproj
build-commandline:
uses: ./.github/workflows/template-build-test-project.yml
with:
name: "BlazorFocused.Automation.CommandLine Build"
source-directory: ./src/CommandLine/src
source-project: BlazorFocused.Automation.CommandLine.csproj
test-directory: ./src/CommandLine/test
test-project: BlazorFocused.Automation.CommandLine.Test.csproj
build-powershell:
uses: ./.github/workflows/template-build-test-project.yml
with:
name: "BlazorFocused.Automation.PowerShell Build"
source-directory: ./src/PowerShell/PowerShell/src
source-project: BlazorFocused.Automation.PowerShell.csproj
test-directory: ./src/PowerShell/PowerShell/test
test-project: BlazorFocused.Automation.PowerShell.Test.csproj
build-powershell-tools:
uses: ./.github/workflows/template-build-test-project.yml
with:
name: "BlazorFocused.Automation.PowerShell.Tools Build"
source-directory: ./src/PowerShell/Tools/src
source-project: BlazorFocused.Automation.PowerShell.Tools.csproj
test-directory: ./src/PowerShell/Tools/test
test-project: BlazorFocused.Automation.PowerShell.Tools.Test.csproj
build-samples:
uses: ./.github/workflows/template-build-test-solution.yml
with:
name: "BlazorFocused.Automation.Samples Build"
working-directory: ./samples
release-runtime:
needs: [build-runtime, build-samples]
if: github.event_name == 'release'
uses: ./.github/workflows/template-release-nuget-package.yml
with:
name: "BlazorFocused.Automation.Runtime Release"
source-project-path: ./Runtime/src/BlazorFocused.Automation.Runtime.csproj
source-release-path: ./Runtime/src/bin/Release
working-directory: ./src
version: ${{ github.event.release.tag_name }}
secrets: inherit
release-commandline:
needs: [build-commandline, build-samples]
if: github.event_name == 'release'
uses: ./.github/workflows/template-release-nuget-package.yml
with:
name: "BlazorFocused.Automation.CommandLine Release"
source-project-path: ./CommandLine/src/BlazorFocused.Automation.CommandLine.csproj
source-release-path: ./CommandLine/src/bin/Release
working-directory: ./src
version: ${{ github.event.release.tag_name }}
secrets: inherit
release-powershell:
needs: [build-powershell, build-samples]
if: github.event_name == 'release'
uses: ./.github/workflows/template-release-nuget-package.yml
with:
name: "BlazorFocused.Automation.PowerShell Release"
source-project-path: ./PowerShell/PowerShell/src/BlazorFocused.Automation.PowerShell.csproj
source-release-path: ./PowerShell/PowerShell/src/bin/Release
working-directory: ./src
version: ${{ github.event.release.tag_name }}
secrets: inherit
release-powershell-tools:
needs: [build-powershell-tools, build-samples]
if: github.event_name == 'release'
uses: ./.github/workflows/template-release-nuget-package.yml
with:
name: "BlazorFocused.Automation.PowerShell.Tools Release"
source-project-path: ./PowerShell/Tools/src/BlazorFocused.Automation.PowerShell.Tools.csproj
source-release-path: ./PowerShell/Tools/src/bin/Release
working-directory: ./src
version: ${{ github.event.release.tag_name }}
secrets: inherit