<commit_before>name: Release

on:
  push:
    tags:
      - '*.*.*'

jobs:
  crates:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: publish package to crates
        run: |
          cargo package
          cargo publish --token ${{ secrets.CARGO_TOKEN }}

  binaries:
    name: Build cargo-tarpaulin binaries for ${{ matrix.target }}
    strategy:
      matrix:
        include:
          - target: x86_64-unknown-linux-gnu
          - target: x86_64-unknown-linux-musl
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: build
        run: cargo build --release --target ${{ matrix.target }}
      - name: archive
        run: |
          GIT_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
          tar -C target/${{ matrix.target }}/release -czf $(pwd)/cargo-tarpaulin-${GIT_TAG}-${{ matrix.target }}.tar.gz cargo-tarpaulin
      - name: publish release
        uses: softprops/action-gh-release@v1
        with:
          files: cargo-tarpaulin-*.tar.gz
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
<commit_msg>Fix release workflow broken by a1bfc4ff6 (#1136)<commit_after>name: Release

on:
  push:
    tags:
      - '*.*.*'

jobs:
  crates:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: publish package to crates
        run: |
          cargo package
          cargo publish --token ${{ secrets.CARGO_TOKEN }}

  binaries:
    name: Build cargo-tarpaulin binaries for ${{ matrix.target }}
    strategy:
      matrix:
        include:
          - target: x86_64-unknown-linux-gnu
          - target: x86_64-unknown-linux-musl
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: install toolchain
        uses: actions-rs/toolchain@v1
        with:
            target: ${{ matrix.target }}
            override: true
      - name: build
        run: cargo build --release
      - name: archive
        run: |
          GIT_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
          tar -C target/${{ matrix.target }}/release -czf $(pwd)/cargo-tarpaulin-${GIT_TAG}-${{ matrix.target }}.tar.gz cargo-tarpaulin
      - name: publish release
        uses: softprops/action-gh-release@v1
        with:
          files: cargo-tarpaulin-*.tar.gz
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

{'fraction_non_alphanumeric': 0.12879102617366014, 'fraction_numerical': 0.013294557540506855, 'mean_word_length': 1.8907563025210083, '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': '6411420', 'n_tokens_mistral': 804, 'n_tokens_neox': 772, 'n_words': 178}