<commit_before>name: publish to nuget

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  publish:
    name: build, pack and publish
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: publish on version change
      id: publish_nuget
      uses: rohith/publish-nuget@v2
      with:
        PROJECT_FILE_PATH: src/Ini.Net/Ini.Net.csproj
        VERSION_FILE_PATH: src/Ini.Net/Ini.Net.nuspec
        VERSION_REGEX: <version>(.*)<\/version><commit_msg>add NUGET_KEY to workflow publish nuget<commit_after>name: publish to nuget

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  publish:
    name: build, pack and publish
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: publish on version change
      id: publish_nuget
      uses: rohith/publish-nuget@v2
      with:
        PROJECT_FILE_PATH: src/Ini.Net/Ini.Net.csproj
        VERSION_FILE_PATH: src/Ini.Net/Ini.Net.nuspec
        VERSION_REGEX: <version>(.*)<\/version>
        NUGET_KEY: ${{secrets.NUGET_API_KEY}}
{'fraction_non_alphanumeric': 0.10759493670886076, 'fraction_numerical': 0.003616636528028933, 'mean_word_length': 2.6534653465346536, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3849656', 'n_tokens_mistral': 410, 'n_tokens_neox': 397, 'n_words': 84}