Skip to content

3.0.9

3.0.9 #152

Workflow file for this run

name: Publish
on:
release:
types: [ published ]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '18.x'
- name: Build Client App
working-directory: ./src/KafkaFlow.Admin.Dashboard/ClientApp
run: |
npm install
npm run lint
npm run build:prod
- name: Pack
run: dotnet pack ./KafkaFlow.sln -c Release /p:Version=${{ github.event.release.tag_name }} -o ./drop
- name: Publish
run: dotnet nuget push ./drop/**/*.nupkg -k ${{ secrets.NUGET_PUBLISH_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate
- name: Print Version
run: echo ${{ github.event.release.tag_name }}