release: bump version to v1.4.0 #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: | ||
branches: ["main"] | ||
tags: | ||
- 'v*.*.*' | ||
jobs: | ||
Stable Build: | ||
Check failure on line 10 in .github/workflows/stable-build.yaml GitHub Actions / Publish NuGet PackageInvalid workflow file
|
||
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 Binaries | ||
with: | ||
repository: "KonataDev/libSilkCodec" | ||
latest: true | ||
tarBall: false | ||
zipBall: false | ||
preRelease: true | ||
fileName: "*" | ||
out-file-path: "Konata.Codec/bin/runtimes" | ||
- name: Dotnet Publish | ||
run: | | ||
cd Konata.Codec | ||
dotnet build Konata.Codec.csproj | ||
dotnet pack -p:NuspecFile=Konata.Codec.nuspec && ls -al bin/Release | ||
- uses: actions/upload-artifact@v3 | ||
name: Upload Artifact | ||
with: | ||
name: artifact.zip | ||
path: Konata.Codec/bin/Release/Konata.Codec*.nupkg |