From 012951a9db2f9ab1ec580358883fb5d2d21adf1d Mon Sep 17 00:00:00 2001 From: adriano_g3 Date: Wed, 25 Nov 2026 17:28:05 -0300 Subject: [PATCH] Ajustes para Deploy Nuget --- .github/workflows/ZeusFiscal_build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ZeusFiscal_build.yml b/.github/workflows/ZeusFiscal_build.yml index 85d5cb90..61cf3bcb 100644 --- a/.github/workflows/ZeusFiscal_build.yml +++ b/.github/workflows/ZeusFiscal_build.yml @@ -127,7 +127,9 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 #usado para etapa de pegar commits para gerar texto release + uses: actions/checkout@v4 + with: + fetch-depth: 0 # garante que todas as tags sejam baixadas para o Release Notes - name: Download Artifacts uses: actions/download-artifact@v4 @@ -136,7 +138,7 @@ jobs: path: ${{ github.workspace }} - name: List Artifacts - run: dir + run: ls -la - name: Setup NuGet uses: actions/setup-dotnet@v4 @@ -145,7 +147,7 @@ jobs: - name: Push to NuGet Feed working-directory: ${{ github.workspace }} - run: dotnet nuget push *.nupkg --source "https://api.nuget.org/v3/index.json" --api-key ${{ secrets.NUGET_AUTH_TOKEN }} + run: dotnet nuget push *.nupkg --source "https://api.nuget.org/v3/index.json" --api-key ${{ secrets.NUGET_AUTH_TOKEN }} --skip-duplicate env: NUGET_AUTH_TOKEN: ${{ secrets.NUGET_AUTH_TOKEN }}