Skip to content

Commit efac17c

Browse files
committed
Initial publish workflow
1 parent d31836c commit efac17c

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
on:
2+
workflow_dispatch:
3+
inputs:
4+
version:
5+
description: 'Package Version'
6+
required: true
7+
default: ''
8+
9+
# echo "Log level: ${{ github.event.inputs.logLevel }}"
10+
jobs:
11+
publish:
12+
name: Publish NuGet
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Setup .NET
17+
uses: actions/setup-dotnet@v1
18+
with:
19+
dotnet-version: 5.0.x
20+
21+
- name: Publish Net50
22+
id: publish_nuget
23+
uses: rohith/publish-nuget@v2
24+
with:
25+
# Filepath of the project to be packaged, relative to root of repository
26+
PROJECT_FILE_PATH: Basic.Reference.Assemblies.Net50/Basic.Reference.Assemblies.Net50.csproj
27+
VERSION_STATIC: ${{ github.event.inputs.version }}
28+
TAG_FORMAT: v*
29+
INCLUDE_SYMBOLS: true
30+
NUGET_KEY: ${{secrets.NUGET_API_KEY}}

0 commit comments

Comments
 (0)