chore(deps): bump MSTest.TestAdapter from 3.5.0 to 3.5.1 (#83) #61
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |