Skip to content

Commit

Permalink
Added capabilities to pluginQA
Browse files Browse the repository at this point in the history
  • Loading branch information
al-af committed May 15, 2024
1 parent 212c73d commit eaf16e0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pluginQA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,33 +29,33 @@ jobs:
- name: Extract version from pubspec.yaml
run: |
VERSION=$(grep 'version:' pubspec.yaml | sed 's/version: //')
echo "PACKAGE_VERSION=$VERSION"
echo "PACKAGE_VERSION=$VERSION" $GITHUB_ENV
shell: bash

- name: Extract iOS SDK version from podspec
run: |
cd ios
ios_sdk_version=$(grep "s.ios.dependency 'AppsFlyerFramework'" appsflyer_sdk.podspec | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')
echo "IOS_SDK_VERSION=$ios_sdk_version"
echo "IOS_SDK_VERSION=$ios_sdk_version" >> $GITHUB_ENV
shell: bash

- name: Extract Android SDK version
run: |
cd android
ANDROID_SDK_VERSION=$(cat build.gradle | grep 'com.appsflyer:af-android-sdk' | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')
echo "ANDROID_SDK_VERSION=$ANDROID_SDK_VERSION"
android_sdk_version=$(cat build.gradle | grep 'com.appsflyer:af-android-sdk' | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')
echo "ANDROID_SDK_VERSION=android_sdk_version" $GITHUB_ENV
shell: bash

- name: Notify with SLack
uses: slackapi/[email protected]
with:
payload: |
{
"version": "${{ env.PACKAGE_VERSION }}",
"version": "${{ env.VERSION }}",
"branch" : "${{ github.ref }}",
"github-link" : "https://github.com/AppsFlyerSDK/appsflyer-flutter-plugin",
"iOS-version": "${{ env.ios_sdk_version }}",
"android-version": "${{ env.ANDROID_SDK_VERSION }}"
"android-version": "${{ env.android_sdk_version }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.CI_SLACK_WEBHOOK_URL }}

0 comments on commit eaf16e0

Please sign in to comment.