Skip to content

ci: nightly build

ci: nightly build #2

name: Publish NuGet Package
on:
push:
branches: ["main"]
jobs:
Build Package:

Check failure on line 8 in .github/workflows/nightly-build.yaml

View workflow run for this annotation

GitHub Actions / Publish NuGet Package

Invalid workflow file

The workflow is not valid. .github/workflows/nightly-build.yaml (Line: 8, Col: 3): The identifier 'Build Package' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
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: nightly
path: Konata.Codec/bin/Release/Konata.Codec*.nupkg