Skip to content

Commit c64959c

Browse files
Merge repositório principal
2 parents cac1b73 + 0b2221e commit c64959c

294 files changed

Lines changed: 23398 additions & 6553 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ community_bridge: # Replace with a single Community Bridge project-name e.g., cl
99
liberapay: # Replace with a single Liberapay username
1010
issuehunt: # Replace with a single IssueHunt username
1111
otechie: # Replace with a single Otechie username
12-
custom: ['https://www.padrim.com.br/openac-net', 'https://apoia.se/openac-net'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
12+
custom: ['https://apoia.se/openac-net'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

.github/workflows/publish.yml

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
2+
name: publish
3+
on:
4+
workflow_dispatch: # Allow running the workflow manually from the GitHub UI
5+
release:
6+
types:
7+
- published # Run the workflow when a new GitHub release is published
8+
9+
env:
10+
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
11+
DOTNET_NOLOGO: true
12+
NuGetDirectory: ${{ github.workspace }}/nuget
13+
14+
defaults:
15+
run:
16+
shell: pwsh
17+
18+
jobs:
19+
create_nuget:
20+
runs-on: windows-latest
21+
steps:
22+
- uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0 # Get all history to allow automatic versioning using MinVer
25+
26+
- name: Setup NuGet
27+
uses: nuget/setup-nuget@v2
28+
29+
- name: Restore NuGet packages
30+
run: nuget restore OpenAC.Net.NFSe.sln
31+
working-directory: src
32+
33+
# Install the .NET SDK indicated in the global.json file
34+
- name: Setup .NET
35+
uses: actions/setup-dotnet@v4
36+
with:
37+
dotnet-version: '8.x'
38+
- run: dotnet msbuild OpenAC.Net.NFSe.sln -property:Configuration=Release -property:platform="Any CPU"
39+
working-directory: src
40+
- run: dotnet pack --configuration Release --output ${{ env.NuGetDirectory }}
41+
working-directory: src
42+
43+
# Publish the NuGet package as an artifact, so they can be used in the following jobs
44+
- uses: actions/upload-artifact@v4
45+
with:
46+
name: nuget
47+
if-no-files-found: error
48+
retention-days: 7
49+
path: ${{ env.NuGetDirectory }}/*.nupkg
50+
51+
validate_nuget:
52+
runs-on: ubuntu-latest
53+
needs: [ create_nuget ]
54+
steps:
55+
# Install the .NET SDK indicated in the global.json file
56+
- name: Setup .NET
57+
uses: actions/setup-dotnet@v4
58+
59+
# Download the NuGet package created in the previous job
60+
- uses: actions/download-artifact@v4
61+
with:
62+
name: nuget
63+
path: ${{ env.NuGetDirectory }}
64+
65+
- name: Install nuget validator
66+
run: dotnet tool update Meziantou.Framework.NuGetPackageValidation.Tool --global
67+
68+
# Validate metadata and content of the NuGet package
69+
# https://www.nuget.org/packages/Meziantou.Framework.NuGetPackageValidation.Tool#readme-body-tab
70+
# If some rules are not applicable, you can disable them
71+
# using the --excluded-rules or --excluded-rule-ids option
72+
- name: Validate package
73+
run: meziantou.validate-nuget-package (Get-ChildItem "${{ env.NuGetDirectory }}/*.nupkg")
74+
75+
deploy:
76+
# Publish only when creating a GitHub Release
77+
# https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository
78+
# You can update this logic if you want to manage releases differently
79+
if: github.event_name == 'release'
80+
runs-on: ubuntu-latest
81+
needs: [ validate_nuget ]
82+
steps:
83+
# Download the NuGet package created in the previous job
84+
- uses: actions/download-artifact@v4
85+
with:
86+
name: nuget
87+
path: ${{ env.NuGetDirectory }}
88+
89+
# Install the .NET SDK indicated in the global.json file
90+
- name: Setup .NET Core
91+
uses: actions/setup-dotnet@v4
92+
93+
# Publish all NuGet packages to NuGet.org
94+
# Use --skip-duplicate to prevent errors if a package with the same version already exists.
95+
# If you retry a failed workflow, already published packages will be skipped without error.
96+
- name: Publish NuGet package
97+
run: |
98+
foreach($file in (Get-ChildItem "${{ env.NuGetDirectory }}" -Recurse -Include *.nupkg)) {
99+
dotnet nuget push $file --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
100+
}

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,4 +242,5 @@ _Pvt_Extensions
242242
/src/*.DotSettings
243243

244244
#files
245-
nuget.config
245+
nuget.config
246+
/nfse.config
2.57 MB
Binary file not shown.

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,28 @@
11
[![Nuget count](http://img.shields.io/nuget/v/OpenAC.Net.NFSe.svg)](https://www.nuget.org/packages/OpenAC.Net.NFSe/)
22
[![Junte-se ao chat](https://img.shields.io/badge/Chat%20on-Discord-purple.svg)](https://discord.com/invite/brdmJ7Yv6w)
3-
[![Ajude-nos pelo Padrim https://www.padrim.com.br/openac-net](https://img.shields.io/badge/Donate-Padrim-red)](https://www.padrim.com.br/openac-net)
4-
[![Ajude-nos pelo Apoia-se https://apoia.se/openac-net](https://img.shields.io/badge/Donate-Apoia--se-red)](https://apoia.se/openac-net)
53

64
# Ajude-nos
75

86
Se *OpenNFSe* for um componente vital em sua aplicação comercial ou de código aberto e / ou você quiser contribuir para seu sucesso contínuo, por favor considere fazer uma pequena contribuição monetária.
97

108
# OpenAC.Net.NFSe
119

12-
Biblioteca para emissão e trasmissão de NFSe (Nota Fiscal de Serviço Eletrônica).
10+
Biblioteca para emissão e transmissão de NFSe (Nota Fiscal de Serviço Eletrônica).
1311

1412
# Situação
1513

1614
![Alt](https://repobeats.axiom.co/api/embed/86dd7e67ae35b516fb5d1e569a5e040cee3704e3.svg "Situação do Projeto")
1715

1816
# Provedores Implementados
1917

20-
## Provedores Testados
21-
2218
- Americana
2319
- Assessor Publico
2420
- Belo Horizonte
2521
- Coplan
2622
- DSF
2723
- Equiplano
2824
- Fiorilli
25+
- FintelISS
2926
- Ginfes
3027
- Goiânia
3128
- IPM
@@ -43,9 +40,6 @@ Biblioteca para emissão e trasmissão de NFSe (Nota Fiscal de Serviço Eletrôn
4340
- SystemPro
4441
- WebISS
4542
- WebIss2
46-
47-
## Provedores Em Teste
48-
4943
- Abaco
5044
- ABase
5145
- Betha v1

nuget.png

66.2 KB
Loading

src/OpenAC.Net.NFSe.DANFSe.FastReport.OpenSource/DANFSeEventArgs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// ***********************************************************************
99
// <copyright file="DANFSeEventArgs.cs" company="OpenAC.Net">
1010
// The MIT License (MIT)
11-
// Copyright (c) 2014 - 2023 Projeto OpenAC .Net
11+
// Copyright (c) 2014 - 2024 Projeto OpenAC .Net
1212
//
1313
// Permission is hereby granted, free of charge, to any person obtaining
1414
// a copy of this software and associated documentation files (the "Software"),

src/OpenAC.Net.NFSe.DANFSe.FastReport.OpenSource/DANFSeExportEventArgs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// ***********************************************************************
99
// <copyright file="DANFSeExportEventArgs.cs" company="OpenAC.Net">
1010
// The MIT License (MIT)
11-
// Copyright (c) 2014 - 2023 Projeto OpenAC .Net
11+
// Copyright (c) 2014 - 2024 Projeto OpenAC .Net
1212
//
1313
// Permission is hereby granted, free of charge, to any person obtaining
1414
// a copy of this software and associated documentation files (the "Software"),

src/OpenAC.Net.NFSe.DANFSe.FastReport.OpenSource/DANFSeFastExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// ***********************************************************************
99
// <copyright file="DANFSeFastExtensions.cs" company="OpenAC.Net">
1010
// The MIT License (MIT)
11-
// Copyright (c) 2014 - 2023 Projeto OpenAC .Net
11+
// Copyright (c) 2014 - 2024 Projeto OpenAC .Net
1212
//
1313
// Permission is hereby granted, free of charge, to any person obtaining
1414
// a copy of this software and associated documentation files (the "Software"),

src/OpenAC.Net.NFSe.DANFSe.FastReport.OpenSource/DANFSeFastOpenOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// ***********************************************************************
99
// <copyright file="DANFSeFastOpenOptions.cs" company="OpenAC.Net">
1010
// The MIT License (MIT)
11-
// Copyright (c) 2014 - 2023 Projeto OpenAC .Net
11+
// Copyright (c) 2014 - 2024 Projeto OpenAC .Net
1212
//
1313
// Permission is hereby granted, free of charge, to any person obtaining
1414
// a copy of this software and associated documentation files (the "Software"),

0 commit comments

Comments
 (0)