Fix CI failure, clean up README, and bump version to 1.3.2 #70
Workflow file for this run
This file contains hidden or 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
| # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - release/* | |
| paths-ignore: | |
| - '**/*.md' | |
| - '**/*.gitignore' | |
| - '**/*.gitattributes' | |
| pull_request: | |
| branches: | |
| - master | |
| - release/* | |
| paths-ignore: | |
| - '**/*.md' | |
| - '**/*.gitignore' | |
| - '**/*.gitattributes' | |
| jobs: | |
| build: | |
| if: github.event_name == 'push' && contains(toJson(github.event.commits), '***NO_CI***') == false && contains(toJson(github.event.commits), '[ci skip]') == false && contains(toJson(github.event.commits), '[skip ci]') == false | |
| runs-on: ubuntu-latest | |
| env: | |
| ACTIONS_ALLOW_UNSECURE_COMMANDS: true | |
| DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
| DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | |
| DOTNET_NOLOGO: true | |
| DOTNET_GENERATE_ASPNET_CERTIFICATE: false | |
| DOTNET_ADD_GLOBAL_TOOLS_TO_PATH: false | |
| DOTNET_MULTILEVEL_LOOKUP: 0 | |
| steps: | |
| - name: checkout code | |
| uses: actions/checkout@v4 | |
| - name: setup .net core sdk | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: | | |
| 8.0.x | |
| 9.0.x | |
| - name: dotnet build | |
| run: dotnet build solrevdev.seedfolder.sln --configuration Release | |
| - name: run integration tests | |
| run: ./tests/integration-test.sh | |
| - name: dotnet pack | |
| run: dotnet pack solrevdev.seedfolder.sln -c Release --no-build --include-source --include-symbols | |
| - name: setup nuget | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/master' | |
| uses: nuget/setup-nuget@v1 | |
| with: | |
| nuget-version: latest | |
| - name: Publish NuGet | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/master' | |
| uses: rohith/[email protected] | |
| with: | |
| PROJECT_FILE_PATH: src/solrevdev.seedfolder.csproj # Relative to repository root | |
| # VERSION_FILE_PATH: Directory.Build.props # Filepath with version info, relative to repository root. Defaults to project file | |
| # VERSION_REGEX: <Version>(.*)<\/Version> # Regex pattern to extract version info in a capturing group | |
| # TAG_COMMIT: true # Flag to enable / disable git tagging | |
| # TAG_FORMAT: v* # Format of the git tag, [*] gets replaced with version | |
| NUGET_KEY: ${{secrets.NUGET_API_KEY}} # nuget.org API key | |
| PACKAGE_NAME: solrevdev.seedfolder | |