do not try to commit or dispose of a session that is already closed #39
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: CI | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Dotnet | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '7.0.x' | |
- name: Restore Solution | |
run: dotnet restore Lucene.Net.IndexProvider.sln | |
- name: Build Solution | |
run: dotnet build Lucene.Net.IndexProvider.sln | |
- name: Test Solution | |
run: dotnet test Lucene.Net.IndexProvider.sln | |
- name: Publish Lucene.Net.IndexProvider | |
uses: alirezanet/[email protected] | |
with: | |
PROJECT_FILE_PATH: Lucene.Net.IndexProvider/Lucene.Net.IndexProvider.csproj | |
NUGET_KEY: ${{secrets.NUGET_API_KEY}} | |
INCLUDE_SYMBOLS: true |