<commit_before>on:
  release:
    types: [published]
jobs:
  test-npm:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v1
      - uses: actions/setup-go@v2
      - name: Get release
        id: get_release
        uses: bruceadams/get-release@v1
        env:
          GITHUB_TOKEN: ${{ github.token }}
      - run: make gen_release
      - name: Upload release (windows)
        uses: actions/upload-release-asset@v1.0.2
        env:
          GITHUB_TOKEN: ${{ github.token }}
        with:
          upload_url: ${{ steps.get_release.outputs.upload_url }}
          asset_path: ./factorio-server-manager/factorio-server-manager-windows.zip
          asset_name: factorio-server-manager-windows-${GITHUB_REF#refs/*/}.zip
          asset_content_type: application/octet-stream
      - name: Upload release (linux)
        uses: actions/upload-release-asset@v1.0.2
        env:
          GITHUB_TOKEN: ${{ github.token }}
        with:
          upload_url: ${{ steps.get_release.outputs.upload_url }}
          asset_path: ./factorio-server-manager/factorio-server-manager-linux.zip
          asset_name: factorio-server-manager-linux-${GITHUB_REF#refs/*/}.zip
          asset_content_type: application/octet-stream
<commit_msg>changed job name && fixed release not found<commit_after>on:
  release:
    types: [published]
jobs:
  add-assets-to-release:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v1
      - uses: actions/setup-go@v2
      - name: Get release
        id: get_release
        uses: bruceadams/get-release@v1.2.2
        env:
          GITHUB_TOKEN: ${{ github.token }}
      - run: make gen_release
      - name: Upload release (windows)
        uses: actions/upload-release-asset@v1.0.2
        env:
          GITHUB_TOKEN: ${{ github.token }}
        with:
          upload_url: ${{ steps.get_release.outputs.upload_url }}
          asset_path: ./factorio-server-manager/factorio-server-manager-windows.zip
          asset_name: factorio-server-manager-windows-${GITHUB_REF#refs/*/}.zip
          asset_content_type: application/octet-stream
      - name: Upload release (linux)
        uses: actions/upload-release-asset@v1.0.2
        env:
          GITHUB_TOKEN: ${{ github.token }}
        with:
          upload_url: ${{ steps.get_release.outputs.upload_url }}
          asset_path: ./factorio-server-manager/factorio-server-manager-linux.zip
          asset_name: factorio-server-manager-linux-${GITHUB_REF#refs/*/}.zip
          asset_content_type: application/octet-stream

{'fraction_non_alphanumeric': 0.12142038946162657, 'fraction_numerical': 0.008400152730049638, 'mean_word_length': 2.2832080200501252, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5991502', 'n_tokens_mistral': 853, 'n_tokens_neox': 833, 'n_words': 134}