<commit_before>name: iOS

on:
  push:
    branches: [ gluonfx ]

jobs:
  build:
    runs-on: macos-latest
    steps:
      - uses: actions/checkout@v2

      - name: Setup Gluon's GraalVM
        uses: gluonhq/setup-graalvm@master
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

      - uses: Apple-Actions/import-codesign-certs@v1
        with:
          p12-file-base64: ${{ secrets.DEVOXX_IOS_CERTIFICATES_FILE_BASE64 }}
          p12-password: ${{ secrets.DEVOXX_IOS_CERTIFICATES_PASSWORD }}

      - uses: Apple-Actions/download-provisioning-profiles@v1
        with:
          bundle-id: com.devoxx.mydevoxx.swift
          issuer-id: ${{ secrets.DEVOXX_IOS_APPSTORE_ISSUER_ID }}
          api-key-id: ${{ secrets.DEVOXX_IOS_APPSTORE_KEY_ID }}
          api-private-key: ${{ secrets.DEVOXX_IOS_APPSTORE_PRIVATE_KEY }}

      - name: Gluon License
        uses: gluonhq/gluon-build-license@v1
        with:
          gluon-license: ${{ secrets.GLUON_LICENSE }}

      - name: CloudLink Config
        run: printf "${{ secrets.CLOUDLINK_CONFIG }}" > DevoxxClientMobile/src/main/resources/cloudlink_config.json
        shell: bash

      - name: Gluon Build
        run: |
          mvn clean install
          cd DevoxxClientMobile
          mvn -Pios -DiosSignIdentity="${{ secrets.DEVOXX_SIGN_IDENTITY }}" -DiosProvisioningProfile="${{ secrets.DEVOXX_PROV_PROFILE }}" -Dbundle.version="$BUNDLE_VERSION" gluonfx:build gluonfx:package
        env:
          BUNDLE_VERSION: echo $((500 + ${{ env.GITHUB_RUN_NUMBER }}))
        
      - uses: Apple-Actions/upload-testflight-build@master
        with:
          app-path: DevoxxClientMobile/target/gluonfx/arm64-ios/DevoxxClientMobile.ipa
          issuer-id: ${{ secrets.DEVOXX_IOS_APPSTORE_ISSUER_ID }}
          api-key-id: ${{ secrets.DEVOXX_IOS_APPSTORE_KEY_ID }}
          api-private-key: ${{ secrets.DEVOXX_IOS_APPSTORE_PRIVATE_KEY }}
<commit_msg>Update ios.yml<commit_after>name: iOS

on:
  push:
    branches: [ gluonfx ]

jobs:
  build:
    runs-on: macos-latest
    steps:
      - uses: actions/checkout@v2

      - name: Setup Gluon's GraalVM
        uses: gluonhq/setup-graalvm@master
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

      - uses: Apple-Actions/import-codesign-certs@v1
        with:
          p12-file-base64: ${{ secrets.DEVOXX_IOS_CERTIFICATES_FILE_BASE64 }}
          p12-password: ${{ secrets.DEVOXX_IOS_CERTIFICATES_PASSWORD }}

      - uses: Apple-Actions/download-provisioning-profiles@v1
        with:
          bundle-id: com.devoxx.mydevoxx.swift
          issuer-id: ${{ secrets.DEVOXX_IOS_APPSTORE_ISSUER_ID }}
          api-key-id: ${{ secrets.DEVOXX_IOS_APPSTORE_KEY_ID }}
          api-private-key: ${{ secrets.DEVOXX_IOS_APPSTORE_PRIVATE_KEY }}

      - name: Gluon License
        uses: gluonhq/gluon-build-license@v1
        with:
          gluon-license: ${{ secrets.GLUON_LICENSE }}
          dir: DevoxxClientMobile

      - name: CloudLink Config
        run: printf "${{ secrets.CLOUDLINK_CONFIG }}" > DevoxxClientMobile/src/main/resources/cloudlink_config.json
        shell: bash

      - name: Gluon Build
        run: |
          mvn clean install
          cd DevoxxClientMobile
          mvn -Pios -DiosSignIdentity="${{ secrets.DEVOXX_SIGN_IDENTITY }}" -DiosProvisioningProfile="${{ secrets.DEVOXX_PROV_PROFILE }}" -Dbundle.version="$BUNDLE_VERSION" gluonfx:build gluonfx:package
        env:
          BUNDLE_VERSION: echo $((500 + ${{ env.GITHUB_RUN_NUMBER }}))
        
      - uses: Apple-Actions/upload-testflight-build@master
        with:
          app-path: DevoxxClientMobile/target/gluonfx/arm64-ios/DevoxxClientMobile.ipa
          issuer-id: ${{ secrets.DEVOXX_IOS_APPSTORE_ISSUER_ID }}
          api-key-id: ${{ secrets.DEVOXX_IOS_APPSTORE_KEY_ID }}
          api-private-key: ${{ secrets.DEVOXX_IOS_APPSTORE_PRIVATE_KEY }}

{'fraction_non_alphanumeric': 0.11422691021353229, 'fraction_numerical': 0.008747105737072292, 'mean_word_length': 2.576816927322907, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4087945', 'n_tokens_mistral': 1445, 'n_tokens_neox': 1357, 'n_words': 185}