Skip to content

Commit

Permalink
feat: nuget-impressao-nfce
Browse files Browse the repository at this point in the history
  • Loading branch information
robertorp committed Sep 21, 2024
1 parent f875904 commit 66c3560
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ZeusFiscal_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ jobs:
dotnet build -p:Version=${{ steps.date.outputs.date }} ".\CTe.Servicos\CTe.Servicos.csproj" -c "Release"
dotnet build -p:Version=${{ steps.date.outputs.date }} ".\CTe.Utils\CTe.Utils.csproj" -c "Release"
dotnet build -p:Version=${{ steps.date.outputs.date }} ".\CTe.Wsdl\CTe.Wsdl.csproj" -c "Release"
- name: Build/Restore Impressao QuestPdf
run: |
dotnet build -p:Version=${{ steps.date.outputs.date }} ".\NFe.Danfe.QuestPdf\NFe.Danfe.QuestPdf.csproj" -c "Release"
#- name: Test
# run: dotnet test --no-build --verbosity normal
Expand All @@ -78,6 +82,7 @@ jobs:
dotnet pack -o ${{ github.workspace }} -v minimal -c Release -p:NuspecProperties=version=${{ steps.date.outputs.date }} -p:PackageVersion=${{ steps.date.outputs.date }} NuGet\Hercules.NET.NFe.NFCe\Hercules.NET.NFe.NFCe.csproj
dotnet pack -o ${{ github.workspace }} -v minimal -c Release -p:NuspecProperties=version=${{ steps.date.outputs.date }} -p:PackageVersion=${{ steps.date.outputs.date }} NuGet\Hercules.NET.MDFe\Hercules.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\Hercules.NET.CTe\Hercules.NET.CTe.csproj
dotnet pack -o ${{ github.workspace }} -v minimal -c Release -p:NuspecProperties=version=${{ steps.date.outputs.date }} -p:PackageVersion=${{ steps.date.outputs.date }} NuGet\Hercules.NET.Impressao.NFCe.QuestPdf\Hercules.NET.Impressao.NFCe.QuestPdf.csproj
- name: Upload Artifacts
uses: actions/upload-artifact@v3
Expand Down
6 changes: 3 additions & 3 deletions NFe.Danfe.QuestPdf/NFe.Danfe.QuestPdf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="BarcodeLib" Version="3.0.3" />
<PackageReference Include="BarcodeLib" Version="3.1.4" />
<PackageReference Include="HarfBuzzSharp.NativeAssets.Linux" Version="7.3.0.2" />
<PackageReference Include="Hercules.NET.NFe.NFCe" Version="2024.4.5.1942" />
<PackageReference Include="QuestPDF" Version="2023.12.6" />
<PackageReference Include="Hercules.NET.NFe.NFCe" Version="2024.9.19.1844" />
<PackageReference Include="QuestPDF" Version="2024.7.3" />
<PackageReference Include="SkiaSharp.NativeAssets.Linux.NoDependencies" Version="2.88.8" />
<PackageReference Include="SkiaSharp.QrCode" Version="0.7.0" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net462;netstandard2.0;net6.0;net8.0</TargetFrameworks>
<PlatformTarget>AnyCpu</PlatformTarget>
<Configurations>Release</Configurations>
<NoBuild>true</NoBuild>
<IncludeBuildOutput>false</IncludeBuildOutput>
<NuspecFile>Hercules.NET.CTe.nuspec</NuspecFile>
</PropertyGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Hercules.NET.Impressao.NFCe.QuestPdf</id>
<version>$version$</version>
<title>Hercules.NET Impressao NFCe QuestPdf</title>
<authors>Hercules.NET</authors>
<owners>Hercules.NET</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<projectUrl>https://github.com/Hercules-NET/ZeusFiscal</projectUrl>
<iconUrl>https://avatars.githubusercontent.com/u/165974473</iconUrl>
<description>Biblioteca para geração de Impressão de NFC-e utilizando QuestPdf</description>
<copyright>Hercules.NET</copyright>
<language>pt-BR</language>
<tags>danfe nfce</tags>
</metadata>
<files>
<file src="..\..\NFe.Danfe.QuestPdf\bin\Release\net8.0\NFe.Danfe.QuestPdf.dll" target="src\NFe.Danfe.QuestPdf.dll" />
</files>
</package>

0 comments on commit 66c3560

Please sign in to comment.