<commit_before>name: Release workflow

on:
  release:
    types: [created]

jobs:
  build-release:
    runs-on: ${{ matrix.operating-system }}
    strategy:
      matrix:
        operating-system: [ubuntu-latest, windows-latest, macos-latest]
    steps:
      - uses: actions/checkout@v2
      - name: Install stable Rust toolchain
        uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable
          override: true
      - name: Install LLVM
        run: choco install -y llvm
        if: runner.os == 'Windows'
      - if: startsWith(github.ref, 'libpact_mock_server_ffi')
        run: cargo build --release
        working-directory: rust/pact_mock_server_ffi
      - if: startsWith(github.ref, 'libpact_mock_server_ffi') && runner.os == 'Linux'
        run: ./release-linux.sh
        working-directory: rust/pact_mock_server_ffi
      - if: startsWith(github.ref, 'libpact_mock_server_ffi') && runner.os == 'Windows'
        run: ./release-win.sh<commit_msg>chore: debugging github release action<commit_after>name: Release workflow

on:
  release:
    types: [created, published]

jobs:
  build-release:
    runs-on: ${{ matrix.operating-system }}
    strategy:
      matrix:
        operating-system: [ubuntu-latest, windows-latest, macos-latest]
    steps:
      - uses: actions/checkout@v2
      - name: Install stable Rust toolchain
        uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable
          override: true
      - name: Install LLVM
        run: choco install -y llvm
        if: runner.os == 'Windows'
      - run: echo github.ref=${{github.ref}}
      - if: startsWith(github.ref, 'libpact_mock_server_ffi')
        run: cargo build --release
        working-directory: rust/pact_mock_server_ffi
      - if: startsWith(github.ref, 'libpact_mock_server_ffi') && runner.os == 'Linux'
        run: ./release-linux.sh
        working-directory: rust/pact_mock_server_ffi
      - if: startsWith(github.ref, 'libpact_mock_server_ffi') && runner.os == 'Windows'
        run: ./release-win.sh
{'fraction_non_alphanumeric': 0.11412268188302425, 'fraction_numerical': 0.0019020446980504042, 'mean_word_length': 2.4662273476112024, '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': '7530803', 'n_tokens_mistral': 675, 'n_tokens_neox': 665, 'n_words': 147}