<commit_before># This is a basic workflow to help you get started with Actions

name: Build and Package

env:
  PKG_VERSION: "8.6.2.0"
  BUILD_CONFIG: "release"
  RELEASE_VERSION: "${{ env.PKG_VERSION }}-build-{{ github.run_number}}"

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
  push:
    branches: 
      - v8/dev 

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  # This workflow contains a single job called "build"
  build:
    # The type of runner that the job will run on
    runs-on: windows-latest    

    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
    - uses: actions/checkout@v2
    
    # get nuget
    - name: Setup Nuget.exe
      uses: warrenbuckley/Setup-Nuget@v1
    
    # setup msbuild 
    - name: setup-msbuild
      uses: microsoft/setup-msbuild@v1
    
    # restore packages
    - name: nuget restore
      run: nuget restore
    
    # build project 
    - name: Build with MSBuild
      run: msbuild usync8.sln -p:Configuration=Release
    
    # package up the packages. 
    - name: create packages
      run: nuget pack ..\uSync8.Core\uSync.Core.nuspec -build -version ${{ env.RELEASE_VERSION }} -properties "depends=${{ env.RELEASE_VERSION }};Configuration=${{ env.BUILD_CONFIG }}" -OutputDirectory .\output

    - name: Add Github Nuget repo
      run: |
        nuget sources add -name "github" -source "https://nuget.pkg.github.com/kevinjump/index.json"  -username kevinjump -password ${{ secrets.GITHUB_TOKEN }} 
        nuget setApiKey ${{ secrets.GITHUB_TOKEN }} -Source "github"        
    
    - name: Publish to github nuget
      working-directory: .\output
      run: nuget push *.nupkg -source "github"      <commit_msg>Update main.yml<commit_after># This is a basic workflow to help you get started with Actions

name: Build and Package

env:
  PKG_VERSION: "8.6.2.0"
  BUILD_CONFIG: "release"

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
  push:
    branches: 
      - v8/dev 

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  # This workflow contains a single job called "build"
  build:
    # The type of runner that the job will run on
    runs-on: windows-latest    

    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
    - uses: actions/checkout@v2
    
    # get nuget
    - name: Setup Nuget.exe
      uses: warrenbuckley/Setup-Nuget@v1
    
    # setup msbuild 
    - name: setup-msbuild
      uses: microsoft/setup-msbuild@v1
    
    # restore packages
    - name: nuget restore
      run: nuget restore
    
    # build project 
    - name: Build with MSBuild
      run: msbuild usync8.sln -p:Configuration=Release
    
    # package up the packages. 
    - name: create packages
      run: nuget pack ..\uSync8.Core\uSync.Core.nuspec -build -version ${{ env.PKG_VERSION }}-build-${{ github.run_number}} -properties "depends=${{ env.PKG_VERSION }}-build-${{ github.run_number}};Configuration=${{ env.BUILD_CONFIG }}" -OutputDirectory .\output

    - name: Add Github Nuget repo
      run: |
        nuget sources add -name "github" -source "https://nuget.pkg.github.com/kevinjump/index.json"  -username kevinjump -password ${{ secrets.GITHUB_TOKEN }} 
        nuget setApiKey ${{ secrets.GITHUB_TOKEN }} -Source "github"        
    
    - name: Publish to github nuget
      working-directory: .\output
      run: nuget push *.nupkg -source "github"      
{'fraction_non_alphanumeric': 0.09204693611473272, 'fraction_numerical': 0.005215123859191656, 'mean_word_length': 2.6743295019157087, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3069941', 'n_tokens_mistral': 1227, 'n_tokens_neox': 1167, 'n_words': 414}