diff --git a/.github/workflows/platform.publish-module-index-json.yml b/.github/workflows/platform.publish-module-index-json.yml index 0dc6ffb409..768a3333df 100644 --- a/.github/workflows/platform.publish-module-index-json.yml +++ b/.github/workflows/platform.publish-module-index-json.yml @@ -15,6 +15,9 @@ permissions: id-token: write contents: read +env: + workflowPath: ".github/workflows/avm.res.app.job.yml" + jobs: upload-index-data: runs-on: ubuntu-latest @@ -23,7 +26,11 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 // Needed to fetch all history and tags - + - name: "Set input parameter``s to output variables" + id: get-workflow-param + uses: ./.github/actions/templates/avm-getWorkflowInput + with: + workflowPath: "${{ env.workflowPath}}" - name: Log in to Azure uses: azure/login@v2 with: @@ -55,7 +62,7 @@ jobs: ErrorAction = 'Continue' } - if ('${{ (fromJson(inputs.regenIndexFromBRM)) }}' -eq $true ) { + if ('${{ (fromJson(steps.get-workflow-param.outputs.workflowInput)).regenIndexFromBRM }}' -eq $true ) { $functionInput['doNotMergeWithLastModuleIndexJsonFileVersion'] = $true }