From 7483146a695d1d889b4953339309a9d31fd35f22 Mon Sep 17 00:00:00 2001 From: Marcos Cruz Date: Wed, 30 Oct 2024 17:06:38 -0300 Subject: [PATCH] update dotnet version in ci-build --- .github/workflows/ci-build.yml | 43 +++++++++++++++++----------------- 1 file changed, 21 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index a5ec810..c3127f6 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -14,7 +14,6 @@ jobs: # Linux, Windows e MacOs # build: - runs-on: ${{ matrix.os }} strategy: matrix: @@ -24,24 +23,24 @@ jobs: # Sequencia de execução das tarefas do job. # steps: - # - # Checkout o repositório para poder ter acesso a ele. - # - - uses: actions/checkout@v2 - # - # Configura os pacotes nas versões necessárias - # - - name: Setup .NET Core - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 3.1.401 - # - # Instala todas as depedências do projeto. - # - - name: Install dependencies - run: dotnet restore - # - # Faz o build do projeto. - # - - name: Build - run: dotnet build --configuration Release --no-restore + # + # Checkout o repositório para poder ter acesso a ele. + # + - uses: actions/checkout@v2 + # + # Configura os pacotes nas versões necessárias + # + - name: Setup .NET Core + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 8.0.x + # + # Instala todas as depedências do projeto. + # + - name: Install dependencies + run: dotnet restore + # + # Faz o build do projeto. + # + - name: Build + run: dotnet build --configuration Release --no-restore