Skip to content

bump version to 1.1

bump version to 1.1 #9

Workflow file for this run

name: Build
on:
push:
branches: [master, develop]
pull_request:
branches: [master, develop]
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
8.0.x
9.0.x
- name: Build
run: dotnet build -c Release
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: packages
path: ./build/Release/*.nupkg
- name: Publish to NuGet
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop'
run: dotnet nuget push ./build/Release/*.nupkg -k ${{ secrets.NUGET_TOKEN }} -s https://api.nuget.org/v3/index.json --skip-duplicate