ci: test ci build #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish NuGet Package | ||
on: | ||
push: | ||
tags: | ||
- 'v*.*.*' | ||
jobs: | ||
download-artifact: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
name: Checkout Files | ||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: '8.0.x' | ||
- uses: robinraju/[email protected] | ||
name: Prepare Artifacts | ||
with: | ||
repository: "KonataDev/libSilkCodec" | ||
latest: true | ||
tarBall: false | ||
zipBall: false | ||
fileName: "*" | ||
out-file-path: "Konata.Codec/Konata.Codec/bin/runtimes" | ||
- name: Publish | ||
run: | | ||
dotnet build -c Release Konata.Codec | ||
dotnet pack -c Release Konata.Codec | ||
dotnet pack -c Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg Konata.Codec | ||