Skip to content

Commit

Permalink
adfadfsdf
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-machado committed Apr 19, 2024
1 parent 9faae23 commit 4272dba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 4272dba

Please sign in to comment.