Skip to content

Add a flag to control whether save the config to local as cache. #76

Add a flag to control whether save the config to local as cache.

Add a flag to control whether save the config to local as cache. #76

Workflow file for this run

name: push to nuget
on:
push:
branches: [ publish ]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./AgileConfig.Client
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release --no-restore
- name: Package
run: dotnet pack -c Release -o . AgileConfig.Client.csproj
- name: Publish
run: dotnet nuget push *.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json