Skip to content

Merge pull request #44 from Tagliatti/dependabot/nuget/NetBarcode/Six… #24

Merge pull request #44 from Tagliatti/dependabot/nuget/NetBarcode/Six…

Merge pull request #44 from Tagliatti/dependabot/nuget/NetBarcode/Six… #24

Workflow file for this run

name: Nuget Package Deploy
on:
push:
tags:
- '*'
jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.200
- name: Build
run: dotnet build -c Release
working-directory: ./NetBarcode
- name: Pack nuget package
run: dotnet pack /p:PackageVersion=${GITHUB_REF:10} --configuration Release
working-directory: ./NetBarcode
- name: Push package to nuget
run: dotnet nuget push **/*.nupkg
--skip-duplicate
--no-symbols true
--api-key ${{ secrets.NUGET_DEPLOY_KEY }}
--source https://api.nuget.org/v3/index.json
working-directory: ./NetBarcode