Merge pull request #266 from sunnamed434/get-rid-of-deps #79
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.GlobalTool | |
| on: | |
| create: | |
| tags: | |
| - "*" | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - '.github/workflows/BitMono.GlobalTool.yaml' | |
| - 'src/BitMono.GlobalTool/**' | |
| - 'src/props/**' | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - '.github/workflows/BitMono.GlobalTool.yaml' | |
| - 'src/BitMono.GlobalTool/**' | |
| - 'src/props/**' | |
| jobs: | |
| build: | |
| name: "BitMono.GlobalTool Build" | |
| runs-on: ubuntu-latest | |
| 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.GlobalTool | |
| github_token: ${{ secrets.PAT }} | |
| nuget_key: ${{ secrets.NUGET_DEPLOY_KEY }} | |
| nuget_push: true | |
| use_runtime: false # Because this is a dotnet tool. | |