Skip to content

SendFaultyMessages (#29) #51

SendFaultyMessages (#29)

SendFaultyMessages (#29) #51

Workflow file for this run

name: NuGet Package CI - Protobuf
on:
push:
branches: ["main"]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore src/ProtobufInterfaces
- name: Build
run: dotnet pack -c Release --no-restore src/ProtobufInterfaces /p:Version=1.0.0-build.${{ github.run_number }}
- name: Build and push NuGet Package
run: dotnet nuget push "src/ProtobufInterfaces/bin/Release/EulynxLive.ProtobufInterfaces.1.0.0-build.${{ github.run_number }}.nupkg" --api-key ${{ secrets.NUGET_REGISTRY }} --source https://api.nuget.org/v3/index.json