Skip to content

Merge branch 'main' into gitauto/issue-#156-b65c0f67-2645-4513-8d04-2… #448

Merge branch 'main' into gitauto/issue-#156-b65c0f67-2645-4513-8d04-2…

Merge branch 'main' into gitauto/issue-#156-b65c0f67-2645-4513-8d04-2… #448

name: Build MergeTool
on:
push:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
DOTNET_VERSION: '8.0.x'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Dotnet restore
run: dotnet restore
- name: Build
env:
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: 1
TERM: xterm
run: dotnet build --configuration Release --no-restore
- name: Run
continue-on-error: true
env:
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: 1
TERM: xterm
run: |
cd BancosBrasileiros.MergeTool
dotnet run --configuration Release