Skip to content

Merge pull request #1 from absmartly/feature/add-custom-fields-support #1

Merge pull request #1 from absmartly/feature/add-custom-fields-support

Merge pull request #1 from absmartly/feature/add-custom-fields-support #1

Workflow file for this run

name: Publish Nuget
on:
push:
branches:
- "main"
tags:
- v*
jobs:
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '5.0.x'
dotnet-quality: 'preview'
env:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_AUTH_TOKEN}}
- name: Run Build
run: dotnet build src/ABSmartly.Sdk
env:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_AUTH_TOKEN}}
- name: Run Release
run: dotnet nuget push src/ABSmartly.Sdk/bin/Debug/ --api-key $NUGET_AUTH_TOKEN --source https://api.nuget.org/v3/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_AUTH_TOKEN}}