Skip to content

Commit

Permalink
[ODS-6137] Support Extension path in FindStandardAndExtensionVersions…
Browse files Browse the repository at this point in the history
… job (#910)
  • Loading branch information
simpat-jesus authored Jan 11, 2024
1 parent 0e5a65e commit 874b608
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/Find Standard and Extension Versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
calling_branch:
required: true
type: string
extension_path:
required: false
default: 'Ed-Fi-Extensions/Extensions/EdFi.Ods.Extensions.TPDM/EdFi.Ods.Extensions.TPDM.csproj'
type: string
outputs:
StandardVersions:
description: "Standard Versions"
Expand All @@ -21,6 +25,7 @@ on:

env:
REF_NAME: ${{ inputs.calling_branch }}
EXTENSION_PATH: ${{ inputs.extension_path }}

jobs:
FindStandardAndExtensionVersions:
Expand Down Expand Up @@ -61,7 +66,8 @@ jobs:
id: Set_ExtensionVersions
working-directory: ./Ed-Fi-Extensions/
run: |
$output = .\build.githubactions.ps1 ExtensionVersions -ProjectFile "$env:GITHUB_WORKSPACE/Ed-Fi-Extensions/Extensions/EdFi.Ods.Extensions.TPDM/EdFi.Ods.Extensions.TPDM.csproj"
$projectFile = Join-Path -Path "$env:GITHUB_WORKSPACE" -ChildPath "$env:EXTENSION_PATH"
$output = .\build.githubactions.ps1 ExtensionVersions -ProjectFile "$projectFile"
Add-Content -Path $env:GITHUB_OUTPUT -Value "ExtensionVersions=$output"
Write-host "ExtensionVersions is $output"
shell: pwsh

0 comments on commit 874b608

Please sign in to comment.