Skip to content

Merge pull request #3 from stormaref/stormaref-patch-2 #29

Merge pull request #3 from stormaref/stormaref-patch-2

Merge pull request #3 from stormaref/stormaref-patch-2 #29

Workflow file for this run

name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
workflow_dispatch:
jobs:
publish-nuget:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Publish to NuGet
uses: brandedoutcast/[email protected]
with:
PROJECT_FILE_PATH: KafkaStorm/KafkaStorm.csproj
VERSION_REGEX: '^\s*<Version>(.*)<\/Version>\s*$'
TAG_FORMAT: '*'
NUGET_KEY: ${{secrets.NUGET_API_KEY}}