<commit_before>name: Build

on:
  push:
    paths-ignore:
    - '*.md'
  schedule:
  - cron: "0 0 * * *"

jobs:
  build-ios-release:
    runs-on: macOS-latest
    steps:
    - uses: actions/checkout@v1
      with:
        ref: develop
    - name: Build and archive
      run: make ios
    - name: Upload an artifact
      uses: actions/upload-artifact@v1
      with:
        name: WebRTC.framework.zip
        path: build/ios/WebRTC.framework.zip
  release-ios:
    runs-on: macOS-latest
    if: contains(github.ref, 'tags/ios-m')
    needs: [build-ios-release]
    steps:
    - name: Download an artifact
      uses: actions/download-artifact@v1
      with:
        name: WebRTC.framework.zip
    - name: Create release
      id: create_release
      uses: actions/create-release@v1.0.0
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        tag_name: ${{ github.ref }}
        release_name: Release ${{ github.ref }}
        draft: false
        prerelease: false
    - name: Upload release asset
      id: upload-release-asset
      uses: actions/upload-release-asset@v1.0.1
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        upload_url: ${{ steps.create_release.outputs.upload_url }}
        asset_path: ./WebRTC.framework.zip
        asset_name: WebRTC.framework.zip
        asset_content_type: application/zip<commit_msg>[iOS] 開発用のバイナリの自動ビルド<commit_after>name: Build

on:
  push:
    paths-ignore:
    - '*.md'
  schedule:
  - cron: "0 0 * * *"

jobs:
  build-ios:
    runs-on: macOS-latest
    steps:
    - uses: actions/checkout@v1
      with:
        ref: develop
    - name: Build and archive (release)
      run: make ios
    - name: Build and archive (develop)
      run: make ios-develop
    - name: Upload an artifact (release)
      uses: actions/upload-artifact@v1
      with:
        name: WebRTC.framework.zip
        path: build/ios/WebRTC.framework.zip
    - name: Upload an artifact (develop)
      uses: actions/upload-artifact@v1
      with:
        name: develop-WebRTC.framework.zip
        path: build/ios-develop/WebRTC.framework.zip

  release-ios:
    runs-on: macOS-latest
    if: contains(github.ref, 'tags/ios-m')
    needs: [build-ios]
    steps:
    - name: Download an artifact (release)
      uses: actions/download-artifact@v1
      with:
        name: WebRTC.framework.zip
    - name: Download an artifact (develop)
      uses: actions/download-artifact@v1
      with:
        name: develop-WebRTC.framework.zip
    - name: Create release
      id: create_release
      uses: actions/create-release@v1.0.0
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        tag_name: ${{ github.ref }}
        release_name: Release ${{ github.ref }}
        draft: false
        prerelease: false
    - name: Upload release asset (release)
      uses: actions/upload-release-asset@v1.0.1
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        upload_url: ${{ steps.create_release.outputs.upload_url }}
        asset_path: ./WebRTC.framework.zip
        asset_name: WebRTC.framework.zip
        asset_content_type: application/zip
    - name: Upload release asset (develop)
      uses: actions/upload-release-asset@v1.0.1
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        upload_url: ${{ steps.create_release.outputs.upload_url }}
        asset_path: ./develop-WebRTC.framework.zip
        asset_name: develop-WebRTC.framework.zip
        asset_content_type: application/zip
{'fraction_non_alphanumeric': 0.11252473847893696, 'fraction_numerical': 0.007633587786259542, 'mean_word_length': 2.2222222222222223, '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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1432723', 'n_tokens_mistral': 1189, 'n_tokens_neox': 1148, 'n_words': 243}