Add BitMono.Integration MSBuild/NuGet package + migrate CI to GITHUB_… #148
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: BitMono.Host | |
| on: | |
| create: | |
| tags: | |
| - "*" | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - '.github/workflows/BitMono.Host.yaml' | |
| - 'src/BitMono.Host/**' | |
| - 'src/props/**' | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - '.github/workflows/BitMono.Host.yaml' | |
| - 'src/BitMono.Host/**' | |
| - 'src/props/**' | |
| jobs: | |
| build: | |
| name: "BitMono.Host Build" | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-dotnet@v5 | |
| name: Setup .NET | |
| with: | |
| dotnet-version: 9.x | |
| - uses: ./.github/actions/project-build | |
| id: project-build | |
| with: | |
| project_path: src/BitMono.Host | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| nuget_key: ${{ secrets.NUGET_DEPLOY_KEY }} | |
| nuget_push: true |