Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
orochasamuel committed Sep 15, 2023
2 parents ef525b4 + 855f384 commit 9f9c744
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: .NET
name: .NET Build and Test

on:
push:
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/release-to-nuget.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release to NuGet

on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup .NET SDK
uses: actions/setup-dotnet@v1
- name: Build
run: dotnet build -c Release
- name: Test
run: dotnet test -c Release --no-build
- name: Pack nugets
run: dotnet pack -c Release --no-build --output .
- name: Push to NuGet
run: dotnet nuget push "*.nupkg" --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div align="center">

# <a id="title" /> FiscalBr.NET
[![Build Status](https://img.shields.io/github/actions/workflow/status/orochasamuel/fiscalbr-net/dotnet)](https://github.com/orochasamuel/fiscalbr-net/actions/workflows/dotnet.yml) [![GitHub issues](https://img.shields.io/github/issues/orochasamuel/fiscalbr-net)](https://github.com/orochasamuel/fiscalbr-net/issues) [![GitHub](https://img.shields.io/github/license/orochasamuel/fiscalbr-net)](https://github.com/orochasamuel/fiscalbr-net/blob/master/LICENSE)
[![Build Status](https://img.shields.io/github/actions/workflow/status/orochasamuel/fiscalbr-net/build-and-test)](https://github.com/orochasamuel/fiscalbr-net/actions/workflows/build-and-test.yml) [![GitHub issues](https://img.shields.io/github/issues/orochasamuel/fiscalbr-net)](https://github.com/orochasamuel/fiscalbr-net/issues) [![GitHub](https://img.shields.io/github/license/orochasamuel/fiscalbr-net)](https://github.com/orochasamuel/fiscalbr-net/blob/master/LICENSE)

###### http://sped.rfb.gov.br/
Biblioteca gratuita para geração dos arquivos SPED e demais declarações necessárias no cenário contábil/fiscal brasileiro.
Expand Down

0 comments on commit 9f9c744

Please sign in to comment.