Skip to content

Commit

Permalink
Alterado compatação dos arquivos para utilizar Compress-Archive
Browse files Browse the repository at this point in the history
  • Loading branch information
Maurício Bernardo committed Nov 19, 2024
1 parent 89cf9bb commit 6d850d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/DFe.NET_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ jobs:
dotnet pack -o ${{ github.workspace }} -v minimal -c Release -p:NuspecProperties=version=${{ steps.date.outputs.date }} -p:PackageVersion=${{ steps.date.outputs.date }} NuGet\Zeus.Net.MDFe\Zeus.Net.MDFe.csproj
dotnet pack -o ${{ github.workspace }} -v minimal -c Release -p:NuspecProperties=version=${{ steps.date.outputs.date }} -p:PackageVersion=${{ steps.date.outputs.date }} NuGet\Zeus.Net.CTe\Zeus.Net.CTe.csproj
zip -r ${{ github.workspace }}/CteArtefato.zip .\path\to\CTeArtefato
zip -r ${{ github.workspace }}/MdfeArtefato.zip .\path\to\MdfeArtefato
zip -r ${{ github.workspace }}/NfeArtefato.zip .\path\to\NfeArtefato
Compress-Archive -Path .\path\to\CTeArtefato -DestinationPath ${{ github.workspace }}\CteArtefato.zip
Compress-Archive -Path .\path\to\MdfeArtefato -DestinationPath ${{ github.workspace }}\MdfeArtefato.zip
Compress-Archive -Path .\path\to\NfeArtefato -DestinationPath ${{ github.workspace }}\NfeArtefato.zip
- name: Upload Artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 6d850d3

Please sign in to comment.