Skip to content

Commit

Permalink
Merge pull request #43 from Hercules-NET/ra/feat-nuget-impressao-nfce
Browse files Browse the repository at this point in the history
feat: nuget-impressao-nfce
  • Loading branch information
robertorp authored Sep 21, 2024
2 parents f875904 + a9e1303 commit 9376e70
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 4 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
8 changes: 4 additions & 4 deletions NFe.Danfe.QuestPdf/NFe.Danfe.QuestPdf.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand All @@ -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>net6.0</TargetFrameworks>
<PlatformTarget>AnyCpu</PlatformTarget>
<Configurations>Release</Configurations>
<NoBuild>true</NoBuild>
<IncludeBuildOutput>false</IncludeBuildOutput>
<NuspecFile>Hercules.NET.Impressao.NFCe.QuestPdf.nuspec</NuspecFile>
</PropertyGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?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>
<projectUrl>https://github.com/Hercules-NET/ZeusFiscal</projectUrl>
<iconUrl>https://avatars.githubusercontent.com/u/165974473</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Biblioteca para geração de CT-e.</description>
<releaseNotes />
<copyright>Hercules.NET</copyright>
<language>pt-BR</language>
<tags>df-e dfe cte ct-e</tags>
</metadata>
<dependencies>

<group targetFramework="net6.0">
<dependency id="BarcodeLib" version="3.1.4" />
<dependency id="HarfBuzzSharp.NativeAssets.Linux" version="7.3.0.2" />
<dependency id="Hercules.NET.NFe.NFCe" version="2024.9.19.1844" />
<dependency id="QuestPDF" version="2024.7.3" />
<dependency id="SkiaSharp.NativeAssets.Linux.NoDependencies" version="2.88.8" />
<dependency id="SkiaSharp.QrCode" version="0.7.0" />
</group>

</dependencies>

<files>
<file src="..\..\NFe.Danfe.QuestPdf\bin\Release\net6.0\NFe.Danfe.QuestPdf.dll" target="src\NFe.Danfe.QuestPdf.dll" />
</files>
</package>

0 comments on commit 9376e70

Please sign in to comment.