Skip to content

Commit

Permalink
update dotnet version in ci-build
Browse files Browse the repository at this point in the history
  • Loading branch information
marcos-cruz committed Oct 30, 2024
1 parent a98255c commit 7483146
Showing 1 changed file with 21 additions and 22 deletions.
43 changes: 21 additions & 22 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
# Linux, Windows e MacOs
#
build:

runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -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

0 comments on commit 7483146

Please sign in to comment.