Skip to content

chore(deps): bump MSTest.TestAdapter from 3.4.3 to 3.5.0 (#80) #59

chore(deps): bump MSTest.TestAdapter from 3.4.3 to 3.5.0 (#80)

chore(deps): bump MSTest.TestAdapter from 3.4.3 to 3.5.0 (#80) #59

name: Build, Test, and Release
on:
push:
branches:
- main
jobs:
build_test_and_release:
name: Build, test, and release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.101
- name: Install dependencies
run: dotnet restore lit-redis.sln
- name: Build
run: dotnet build lit-redis.sln --configuration Release --no-restore
- name: Test
run: dotnet test lit-redis.sln --logger GitHubActions --no-restore --verbosity normal
- name: Pack
run : dotnet pack **/LitRedis.Core.csproj --configuration Release -o out/pack
- name: Publish
run: dotnet nuget push ./out/pack/*.nupkg --api-key ${{secrets.FIREBEND_NUGET_KEY}} --skip-duplicate --source https://api.nuget.org/v3/index.json