From bc2e74ad6876dc7da717b13bfda12439191ebbea Mon Sep 17 00:00:00 2001 From: Prince Mathew Date: Tue, 29 Oct 2024 13:32:31 +0530 Subject: [PATCH] Passing flutter version as input --- .github/workflows/publish-af.yml | 2 +- .github/workflows/publish-afpi.yml | 2 +- .github/workflows/rl-scanner.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-af.yml b/.github/workflows/publish-af.yml index 01b8307b..a269de22 100644 --- a/.github/workflows/publish-af.yml +++ b/.github/workflows/publish-af.yml @@ -18,7 +18,7 @@ jobs: rl-scanner: uses: ./.github/workflows/rl-scanner.yml with: - flutter: '3.x' + flutter: ${{ env.flutter }} artifact-name: 'flutter-auth0-package.zip' secrets: RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }} diff --git a/.github/workflows/publish-afpi.yml b/.github/workflows/publish-afpi.yml index b71fc2ea..497018fe 100644 --- a/.github/workflows/publish-afpi.yml +++ b/.github/workflows/publish-afpi.yml @@ -18,7 +18,7 @@ jobs: rl-scanner: uses: ./.github/workflows/rl-scanner.yml with: - flutter: '3.x' + flutter: ${{ env.flutter }} artifact-name: 'flutter-auth0-package.zip' secrets: RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }} diff --git a/.github/workflows/rl-scanner.yml b/.github/workflows/rl-scanner.yml index df8c65b8..257ee766 100644 --- a/.github/workflows/rl-scanner.yml +++ b/.github/workflows/rl-scanner.yml @@ -3,7 +3,7 @@ name: RL-Secure-Workflow on: workflow_call: inputs: - flutter-version: + flutter: required: true type: string artifact-name: @@ -42,7 +42,7 @@ jobs: - name: Set up Flutter uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 with: - flutter-version: ${{ inputs.flutter-version }} + flutter-version: ${{ inputs.flutter }} channel: stable cache: true