Skip to content

Merge pull request #52 from NerosoftDev/develop #12

Merge pull request #52 from NerosoftDev/develop

Merge pull request #52 from NerosoftDev/develop #12

Workflow file for this run

name: Pack
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore Euonia.sln
- name: Build
run: dotnet build Euonia.sln --no-restore --configuration Release
- name: Pack
run: dotnet pack Euonia.sln -c Release -o artifacts/
- name: Publish NuGet
run: dotnet nuget push artifacts/*.nupkg --api-key ${{secrets.NUGET_API}} --source https://api.nuget.org/v3/index.json --skip-duplicate