ci: test ci build #4
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: | ||
branches: ["citest"] | ||
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: | ||
Check failure on line 19 in .github/workflows/pack-nuget.yaml GitHub Actions / Publish NuGet PackageInvalid workflow file
|
||
dotnet-version: '8.0.x' | ||
- uses: robinraju/release-downloader@v1.9 | ||
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 | ||