From 4272dbaa4e6b7362cae90228343441a5d9bf7484 Mon Sep 17 00:00:00 2001 From: Alexandre Machado Date: Fri, 19 Apr 2024 03:25:46 -0300 Subject: [PATCH] adfadfsdf --- .github/workflows/main.yml | 17 ----------------- .github/workflows/reusable.yml | 2 +- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fb6498c..7d9d589 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,23 +12,6 @@ jobs: call-workflow: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - - name: Get all .csproj files - run: | - json="[]" - - # Busca todos os arquivos .csproj recursivamente - for file in $(find . -name "*.csproj") - do - # Adiciona o caminho do arquivo ao JSON - json=$(echo $json | jq --arg file "$file" '. + [$file]') - done - - # Converte o JSON para string e imprime - json_as_string=$(echo $json | jq -r tostring) - echo "paths=$json_as_string" >> "$GITHUB_OUTPUT" - echo $json_as_string - uses: ./.github/workflows/reusable.yml with: diff --git a/.github/workflows/reusable.yml b/.github/workflows/reusable.yml index 37d4ebd..574cf83 100644 --- a/.github/workflows/reusable.yml +++ b/.github/workflows/reusable.yml @@ -13,7 +13,7 @@ jobs: matrix: dotnet: ${{ fromJSON(inputs.dotnetVersions) }} steps: - # - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ matrix.dotnet }}