Skip to content

chore: bump version to 2.3.0 #7

chore: bump version to 2.3.0

chore: bump version to 2.3.0 #7

Workflow file for this run

name: build
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup .NET Core (Build)
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Build with dotnet
run: dotnet build --configuration Release
- name: Test with dotnet
run: dotnet test
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup .NET Core (Deploy)
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Pack nuget package
run: dotnet pack --configuration Release
- name: Push package to nuget
run: dotnet nuget push YahooFinanceApi/bin/Release/YahooFinanceApi.*.nupkg
--api-key ${{ secrets.NUGET_DEPLOY_KEY_YAHOOFINANCEAPI }}
--source https://api.nuget.org/v3/index.json
--skip-duplicate