From 922e73f2cef0ae9d0001d4c8198b37159c96a748 Mon Sep 17 00:00:00 2001 From: Amit Levy Date: Wed, 15 May 2024 16:08:50 +0300 Subject: [PATCH] Added capabilities to pluginQA --- .github/workflows/pluginQA.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pluginQA.yml b/.github/workflows/pluginQA.yml index 701f15e..88d981f 100644 --- a/.github/workflows/pluginQA.yml +++ b/.github/workflows/pluginQA.yml @@ -29,21 +29,21 @@ jobs: - name: Extract version from pubspec.yaml run: | VERSION=$(grep 'version:' pubspec.yaml | sed 's/version: //') - echo "PACKAGE_VERSION=$VERSION" $GITHUB_ENV + 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" >> $GITHUB_ENV + 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" >> $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" $GITHUB_ENV + 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 @@ -51,11 +51,11 @@ jobs: with: payload: | { - "version": "${{ env.VERSION }}", + "version": "${{ env.PACKAGE_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 }}" + "iOS-version": "${{ env.IOS_SDK_VERSION }}", + "android-version": "${{ env.ANDROID_SDK_VERSION }}" } env: SLACK_WEBHOOK_URL: ${{ secrets.CI_SLACK_WEBHOOK_URL }} \ No newline at end of file