From fda8d6e30e7c7ffb755484b5102cb4e46b8dc606 Mon Sep 17 00:00:00 2001 From: "m.semalaiappan" Date: Tue, 6 Feb 2024 22:25:10 -0600 Subject: [PATCH] github.event_name updated --- .../workflows/Lib edFi.admin.dataaccess.yml | 4 ++-- .github/workflows/Lib edFi.common.yml | 4 ++-- .github/workflows/Lib edFi.loadtools.yml | 4 ++-- .github/workflows/Lib edFi.ods.api.yml | 4 ++-- .github/workflows/Lib edFi.ods.common.yml | 4 ++-- .github/workflows/Lib edFi.ods.standard.yml | 4 ++-- .../workflows/Lib edFi.security.dataaccess.yml | 4 ++-- .github/workflows/Pkg EdFi.Database.Admin.yml | 4 ++-- .../workflows/Pkg EdFi.Database.Security.yml | 4 ++-- .github/workflows/Pkg EdFi.Ods.CodeGen.yml | 4 ++-- ...kg EdFi.Ods.Minimal.Template.PostgreSQL.yml | 18 +++--------------- ...Fi.Ods.Minimal.Template.TPDM.PostgreSQL.yml | 4 ++-- .../Pkg EdFi.Ods.Minimal.Template.TPDM.yml | 4 ++-- .../Pkg EdFi.Ods.Minimal.Template.yml | 4 ++-- ... EdFi.Ods.Populated.Template.PostgreSQL.yml | 4 ++-- ....Ods.Populated.Template.TPDM.PostgreSQL.yml | 4 ++-- .../Pkg EdFi.Ods.Populated.Template.TPDM.yml | 4 ++-- .../Pkg EdFi.Ods.Populated.Template.yml | 4 ++-- 18 files changed, 37 insertions(+), 49 deletions(-) diff --git a/.github/workflows/Lib edFi.admin.dataaccess.yml b/.github/workflows/Lib edFi.admin.dataaccess.yml index 958ae816d2..c56c043850 100644 --- a/.github/workflows/Lib edFi.admin.dataaccess.yml +++ b/.github/workflows/Lib edFi.admin.dataaccess.yml @@ -75,13 +75,13 @@ jobs: .\build.githubactions.ps1 pack -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -Solution "Application/EdFi.Admin.DataAccess/EdFi.Admin.DataAccess.sln" -ProjectFile "Application/EdFi.Admin.DataAccess/EdFi.Admin.DataAccess.csproj" -PackageName "EdFi.Suite3.Admin.DataAccess" shell: pwsh - name: Install-credential-handler - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} run: | .\build.githubactions.ps1 InstallCredentialHandler shell: pwsh - name: publish - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} run: | .\build.githubactions.ps1 publish -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuGetApiKey ${{ env.AZURE_ARTIFACT_NUGET_KEY }} -EdFiNuGetFeed ${{env.AZURE_ARTIFACT_URL}} -Solution "Application/EdFi.Admin.DataAccess/EdFi.Admin.DataAccess.sln" -ProjectFile "Application/EdFi.Admin.DataAccess/EdFi.Admin.DataAccess.csproj" -PackageName "EdFi.Suite3.Admin.DataAccess" shell: pwsh diff --git a/.github/workflows/Lib edFi.common.yml b/.github/workflows/Lib edFi.common.yml index 6e58445ff8..ad348adc2e 100644 --- a/.github/workflows/Lib edFi.common.yml +++ b/.github/workflows/Lib edFi.common.yml @@ -75,12 +75,12 @@ jobs: .\build.githubactions.ps1 pack -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -Solution "Application/EdFi.Common/EdFi.Common.sln" -ProjectFile "Application/EdFi.Common/EdFi.Common.csproj" -PackageName "EdFi.Suite3.Common" shell: pwsh - name: Install-credential-handler - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} run: | .\build.githubactions.ps1 InstallCredentialHandler shell: pwsh - name: publish - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} run: | .\build.githubactions.ps1 publish -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuGetApiKey ${{ env.AZURE_ARTIFACT_NUGET_KEY }} -EdFiNuGetFeed ${{env.AZURE_ARTIFACT_URL}} -Solution "Application/EdFi.Common/EdFi.Common.sln" -ProjectFile "Application/EdFi.Common/EdFi.Common.csproj" -PackageName "EdFi.Suite3.Common" shell: pwsh diff --git a/.github/workflows/Lib edFi.loadtools.yml b/.github/workflows/Lib edFi.loadtools.yml index c030c8ccd8..3df984dacc 100644 --- a/.github/workflows/Lib edFi.loadtools.yml +++ b/.github/workflows/Lib edFi.loadtools.yml @@ -83,12 +83,12 @@ jobs: .\build.githubactions.ps1 pack -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -Solution "Utilities/DataLoading/LoadTools.sln" -ProjectFile "Utilities/DataLoading/EdFi.SmokeTest.Console/EdFi.SmokeTest.Console.csproj" -PackageName "EdFi.Suite3.SmokeTest.Console" shell: pwsh - name: Install-credential-handler - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} run: | .\build.githubactions.ps1 InstallCredentialHandler shell: pwsh - name: publish load tools,bulk load client & smoke test console - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} run: | .\build.githubactions.ps1 publish -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuGetApiKey ${{ env.AZURE_ARTIFACT_NUGET_KEY }} -EdFiNuGetFeed ${{env.AZURE_ARTIFACT_URL}} -Solution "Utilities/DataLoading/LoadTools.sln" -ProjectFile "Ed-Fi-ODS/Utilities/DataLoading/EdFi.LoadTools/EdFi.LoadTools.csproj" -PackageName "EdFi.Suite3.LoadTools" .\build.githubactions.ps1 publish -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuGetApiKey ${{ env.AZURE_ARTIFACT_NUGET_KEY }} -EdFiNuGetFeed ${{env.AZURE_ARTIFACT_URL}} -Solution "Utilities/DataLoading/LoadTools.sln" -ProjectFile "Ed-Fi-ODS/Utilities/DataLoading/EdFi.BulkLoadClient.Console/EdFi.BulkLoadClient.Console.csproj" -PackageName "EdFi.Suite3.BulkLoadClient.Console" diff --git a/.github/workflows/Lib edFi.ods.api.yml b/.github/workflows/Lib edFi.ods.api.yml index be429554ae..164075cd05 100644 --- a/.github/workflows/Lib edFi.ods.api.yml +++ b/.github/workflows/Lib edFi.ods.api.yml @@ -75,12 +75,12 @@ jobs: .\build.githubactions.ps1 pack -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -Solution "Application/EdFi.Ods.Api/EdFi.Ods.Api.sln" -ProjectFile "Application/EdFi.Ods.Api/EdFi.Ods.Api.csproj" -PackageName "EdFi.Suite3.Ods.Api" shell: pwsh - name: Install-credential-handler - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} run: | .\build.githubactions.ps1 InstallCredentialHandler shell: pwsh - name: publish - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} run: | .\build.githubactions.ps1 publish -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuGetApiKey ${{ env.AZURE_ARTIFACT_NUGET_KEY }} -EdFiNuGetFeed ${{env.AZURE_ARTIFACT_URL}} -Solution "Application/EdFi.Ods.Api/EdFi.Ods.Api.sln" -ProjectFile "Application/EdFi.Ods.Api/EdFi.Ods.Api.csproj" -PackageName "EdFi.Suite3.Ods.Api" shell: pwsh diff --git a/.github/workflows/Lib edFi.ods.common.yml b/.github/workflows/Lib edFi.ods.common.yml index d3c6986680..afd5992938 100644 --- a/.github/workflows/Lib edFi.ods.common.yml +++ b/.github/workflows/Lib edFi.ods.common.yml @@ -75,12 +75,12 @@ jobs: .\build.githubactions.ps1 pack -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -Solution "Application/EdFi.Ods.Common/EdFi.Ods.Common.sln" -ProjectFile "Application/EdFi.Ods.Common/EdFi.Ods.Common.csproj" -PackageName "EdFi.Suite3.Ods.Common" shell: pwsh - name: Install-credential-handler - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} run: | .\build.githubactions.ps1 InstallCredentialHandler shell: pwsh - name: publish - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} run: | .\build.githubactions.ps1 publish -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuGetApiKey ${{ env.AZURE_ARTIFACT_NUGET_KEY }} -EdFiNuGetFeed ${{env.AZURE_ARTIFACT_URL}} -Solution "Application/EdFi.Ods.Common/EdFi.Ods.Common.sln" -ProjectFile "Application/EdFi.Ods.Common/EdFi.Ods.Common.csproj" -PackageName "EdFi.Suite3.Ods.Common" shell: pwsh diff --git a/.github/workflows/Lib edFi.ods.standard.yml b/.github/workflows/Lib edFi.ods.standard.yml index befb0dfa6d..1b50bef071 100644 --- a/.github/workflows/Lib edFi.ods.standard.yml +++ b/.github/workflows/Lib edFi.ods.standard.yml @@ -106,13 +106,13 @@ jobs: .\build.githubactions.ps1 pack -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -ProjectFile "$env:GITHUB_WORKSPACE/Ed-Fi-ODS/Application/EdFi.Ods.Standard/EdFi.Ods.Standard.csproj" -PackageName "EdFi.Suite3.Ods.Standard.${{ matrix.StandardVersion }}" shell: pwsh - name: Install-credential-handler - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} working-directory: ./Ed-Fi-ODS/ run: | .\build.githubactions.ps1 InstallCredentialHandler shell: pwsh - name: publish - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} working-directory: ./Ed-Fi-ODS/ run: | .\build.githubactions.ps1 publish -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuGetApiKey ${{ env.AZURE_ARTIFACT_NUGET_KEY }} -EdFiNuGetFeed ${{env.AZURE_ARTIFACT_URL}} -ProjectFile "$env:GITHUB_WORKSPACE/Ed-Fi-ODS/Application/EdFi.Ods.Standard/EdFi.Ods.Standard.csproj" -PackageName "EdFi.Suite3.Ods.Standard.${{ matrix.StandardVersion }}" diff --git a/.github/workflows/Lib edFi.security.dataaccess.yml b/.github/workflows/Lib edFi.security.dataaccess.yml index 1b3aaa620a..e18ed40622 100644 --- a/.github/workflows/Lib edFi.security.dataaccess.yml +++ b/.github/workflows/Lib edFi.security.dataaccess.yml @@ -75,12 +75,12 @@ jobs: .\build.githubactions.ps1 pack -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -Solution "Application/EdFi.Security.DataAccess/EdFi.Security.DataAccess.sln" -ProjectFile "Application/EdFi.Security.DataAccess/EdFi.Security.DataAccess.csproj" -PackageName "EdFi.Suite3.Security.DataAccess" shell: pwsh - name: Install-credential-handler - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} run: | .\build.githubactions.ps1 InstallCredentialHandler shell: pwsh - name: publish - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} run: | .\build.githubactions.ps1 publish -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuGetApiKey ${{ env.AZURE_ARTIFACT_NUGET_KEY }} -EdFiNuGetFeed ${{env.AZURE_ARTIFACT_URL}} -Solution "Application/EdFi.Security.DataAccess/EdFi.Security.DataAccess.sln" -ProjectFile "Application/EdFi.Security.DataAccess/EdFi.Security.DataAccess.csproj" -PackageName "EdFi.Suite3.Security.DataAccess" shell: pwsh diff --git a/.github/workflows/Pkg EdFi.Database.Admin.yml b/.github/workflows/Pkg EdFi.Database.Admin.yml index 067f84061f..5a64ef8cc7 100644 --- a/.github/workflows/Pkg EdFi.Database.Admin.yml +++ b/.github/workflows/Pkg EdFi.Database.Admin.yml @@ -115,11 +115,11 @@ jobs: nuget pack $AdminBACPACNuspecFilePath -OutputDirectory $packageOutput -Version $version -Properties "configuration=release" -Properties "authors=Ed-Fi Alliance" -Properties "owners=Ed-Fi Alliance" -Properties "copyright=Copyright © $(date +'%Y') Ed-Fi Alliance, LLC and Contributors" -NoPackageAnalysis -NoDefaultExcludes nuget pack $AdminPostgreSQLNuspecFilePath -OutputDirectory $packageOutput -Version $version -Properties "configuration=release" -Properties "authors=Ed-Fi Alliance" -Properties "owners=Ed-Fi Alliance" -Properties "copyright=Copyright © $(date +'%Y') Ed-Fi Alliance, LLC and Contributors" -NoPackageAnalysis -NoDefaultExcludes - name: Install-credential-handler - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} run: iex "& { $(irm https://aka.ms/install-artifacts-credprovider.ps1) } -AddNetfx" shell: powershell - name: Publish Nuget package - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} working-directory: ./Ed-Fi-ODS/ run: | .\build.githubactions.ps1 publish -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuGetApiKey ${{ env.AZURE_ARTIFACT_NUGET_KEY }} -EdFiNuGetFeed ${{env.AZURE_ARTIFACT_URL}} -PackageName "EdFi.Database.Admin.Standard.${{ matrix.StandardVersion }}" diff --git a/.github/workflows/Pkg EdFi.Database.Security.yml b/.github/workflows/Pkg EdFi.Database.Security.yml index afa4add5d8..5252addf74 100644 --- a/.github/workflows/Pkg EdFi.Database.Security.yml +++ b/.github/workflows/Pkg EdFi.Database.Security.yml @@ -115,12 +115,12 @@ jobs: nuget pack $SecurityBACPACNuspecFilePath -OutputDirectory $packageOutput -Version $version -Properties "configuration=release" -Properties "authors=Ed-Fi Alliance" -Properties "owners=Ed-Fi Alliance" -Properties "copyright=Copyright © $(date +'%Y') Ed-Fi Alliance, LLC and Contributors" -NoPackageAnalysis -NoDefaultExcludes nuget pack $SecurityPostgreSQLNuspecFilePath -OutputDirectory $packageOutput -Version $version -Properties "configuration=release" -Properties "authors=Ed-Fi Alliance" -Properties "owners=Ed-Fi Alliance" -Properties "copyright=Copyright © $(date +'%Y') Ed-Fi Alliance, LLC and Contributors" -NoPackageAnalysis -NoDefaultExcludes - name: Install-credential-handler - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} run: iex "& { $(irm https://aka.ms/install-artifacts-credprovider.ps1) } -AddNetfx" shell: powershell - name: Publish Nuget package working-directory: ./Ed-Fi-ODS/ - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} run: | .\build.githubactions.ps1 publish -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuGetApiKey ${{ env.AZURE_ARTIFACT_NUGET_KEY }} -EdFiNuGetFeed ${{env.AZURE_ARTIFACT_URL}} -PackageName "EdFi.Database.Security.Standard.${{ matrix.StandardVersion }}" .\build.githubactions.ps1 publish -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuGetApiKey ${{ env.AZURE_ARTIFACT_NUGET_KEY }} -EdFiNuGetFeed ${{env.AZURE_ARTIFACT_URL}} -PackageName "EdFi.Database.Security.BACPAC.Standard.${{ matrix.StandardVersion }}" diff --git a/.github/workflows/Pkg EdFi.Ods.CodeGen.yml b/.github/workflows/Pkg EdFi.Ods.CodeGen.yml index f005bde066..77a2157226 100644 --- a/.github/workflows/Pkg EdFi.Ods.CodeGen.yml +++ b/.github/workflows/Pkg EdFi.Ods.CodeGen.yml @@ -115,13 +115,13 @@ jobs: .\build.githubactions.ps1 pack -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -ProjectFile "$env:GITHUB_WORKSPACE/Ed-Fi-ODS/Utilities/CodeGeneration/EdFi.Ods.CodeGen/EdFi.Ods.CodeGen.csproj" -PackageName "EdFi.Suite3.Ods.CodeGen" shell: pwsh - name: Install-credential-handler - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} working-directory: ./Ed-Fi-ODS/ run: | .\build.githubactions.ps1 InstallCredentialHandler shell: pwsh - name: publish codegen - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} working-directory: ./Ed-Fi-ODS/ run: | .\build.githubactions.ps1 publish -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuGetApiKey ${{ env.AZURE_ARTIFACT_NUGET_KEY }} -EdFiNuGetFeed ${{env.AZURE_ARTIFACT_URL}} -ProjectFile "$env:GITHUB_WORKSPACE/Ed-Fi-ODS/Utilities/CodeGeneration/EdFi.Ods.CodeGen/EdFi.Ods.CodeGen.csproj" -PackageName "EdFi.Suite3.Ods.CodeGen" diff --git a/.github/workflows/Pkg EdFi.Ods.Minimal.Template.PostgreSQL.yml b/.github/workflows/Pkg EdFi.Ods.Minimal.Template.PostgreSQL.yml index 13e07b42eb..5e29f4d570 100644 --- a/.github/workflows/Pkg EdFi.Ods.Minimal.Template.PostgreSQL.yml +++ b/.github/workflows/Pkg EdFi.Ods.Minimal.Template.PostgreSQL.yml @@ -61,19 +61,7 @@ jobs: steps: - name: echo distinct ID ${{ github.event.inputs.distinct_id }} run: echo "${{ github.event.inputs.distinct_id }}" - - name: Debug EVENT_NAME - run: | - echo "EVENT_NAME is: $EVENT_NAME" - echo "EVENT_NAME is: ${{ github.event_name }}" - env.EVENT_NAME - echo "Comparing EVENT_NAME to 'workflow_dispatch'" - if [ "$EVENT_NAME" == 'workflow_dispatch' ]; then - echo "EVENT_NAME is 'workflow_dispatch'" - else - echo "EVENT_NAME is not 'workflow_dispatch'" - fi - env: - EVENT_NAME: ${{ env.EVENT_NAME }} + - name: Check for Azure token if: ${{ env.REPOSITORY_OWNER == 'Ed-Fi-Alliance-OSS' && env.AZURE_ARTIFACT_NUGET_KEY == '' }} run: | @@ -160,14 +148,14 @@ jobs: .\build.githubactions.ps1 pack -Configuration ${{ env.CONFIGURATION }} -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuspecFilePath "$env:GITHUB_WORKSPACE/Ed-Fi-ODS-Implementation/DatabaseTemplate/Database/EdFi.Ods.Minimal.Template.PostgreSQL.Standard.${{ matrix.StandardVersion }}.nuspec" -PackageName "EdFi.Suite3.Ods.Minimal.Template.PostgreSQL.Standard.${{ matrix.StandardVersion }}" shell: pwsh - name: Install-credential-handler - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} working-directory: ./Ed-Fi-ODS/ run: | .\build.githubactions.ps1 InstallCredentialHandler shell: pwsh - name: publish working-directory: ./Ed-Fi-ODS/ - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} run: | .\build.githubactions.ps1 publish -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuGetApiKey ${{ env.AZURE_ARTIFACT_NUGET_KEY }} -EdFiNuGetFeed ${{env.AZURE_ARTIFACT_URL}} -PackageName "EdFi.Suite3.Ods.Minimal.Template.PostgreSQL.Standard.${{ matrix.StandardVersion }}" shell: pwsh diff --git a/.github/workflows/Pkg EdFi.Ods.Minimal.Template.TPDM.PostgreSQL.yml b/.github/workflows/Pkg EdFi.Ods.Minimal.Template.TPDM.PostgreSQL.yml index 1a6eb6c0a4..7b6f60794a 100644 --- a/.github/workflows/Pkg EdFi.Ods.Minimal.Template.TPDM.PostgreSQL.yml +++ b/.github/workflows/Pkg EdFi.Ods.Minimal.Template.TPDM.PostgreSQL.yml @@ -154,14 +154,14 @@ jobs: .\build.githubactions.ps1 pack -Configuration ${{ env.CONFIGURATION }} -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuspecFilePath "$env:GITHUB_WORKSPACE/Ed-Fi-ODS-Implementation/DatabaseTemplate/Database/EdFi.Ods.Minimal.Template.TPDM.Core.${{ matrix.ExtensionVersion }}.PostgreSQL.Standard.${{ matrix.StandardVersion }}.nuspec" -PackageName "EdFi.Suite3.Ods.Minimal.Template.TPDM.Core.${{ matrix.ExtensionVersion }}.PostgreSQL.Standard.${{ matrix.StandardVersion }}" shell: pwsh - name: Install-credential-handler - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} working-directory: ./Ed-Fi-ODS/ run: | .\build.githubactions.ps1 InstallCredentialHandler shell: pwsh - name: publish working-directory: ./Ed-Fi-ODS/ - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} run: | .\build.githubactions.ps1 publish -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuGetApiKey ${{ env.AZURE_ARTIFACT_NUGET_KEY }} -EdFiNuGetFeed ${{env.AZURE_ARTIFACT_URL}} -PackageName "EdFi.Suite3.Ods.Minimal.Template.TPDM.Core.${{ matrix.ExtensionVersion }}.PostgreSQL.Standard.${{ matrix.StandardVersion }}" shell: pwsh diff --git a/.github/workflows/Pkg EdFi.Ods.Minimal.Template.TPDM.yml b/.github/workflows/Pkg EdFi.Ods.Minimal.Template.TPDM.yml index b48cbc6d30..921c509ca5 100644 --- a/.github/workflows/Pkg EdFi.Ods.Minimal.Template.TPDM.yml +++ b/.github/workflows/Pkg EdFi.Ods.Minimal.Template.TPDM.yml @@ -148,7 +148,7 @@ jobs: .\build.githubactions.ps1 pack -Configuration ${{ env.CONFIGURATION }} -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuspecFilePath "$env:GITHUB_WORKSPACE/Ed-Fi-ODS-Implementation/DatabaseTemplate/Database/EdFi.Ods.Minimal.Template.TPDM.Core.${{ matrix.ExtensionVersion }}.Standard.${{ matrix.StandardVersion }}.nuspec" -PackageName "EdFi.Suite3.Ods.Minimal.Template.TPDM.Core.${{ matrix.ExtensionVersion }}.Standard.${{ matrix.StandardVersion }}" shell: powershell - name: Install-credential-handler - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} working-directory: ./Ed-Fi-ODS-Implementation/ run: | Import-Module -Force -Scope Global "$env:GITHUB_WORKSPACE/Ed-Fi-ODS-Implementation/logistics/scripts/modules/utility/cross-platform.psm1" @@ -182,7 +182,7 @@ jobs: shell: powershell - name: publish working-directory: ./Ed-Fi-ODS/ - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} run: | .\build.githubactions.ps1 publish -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuGetApiKey ${{ env.AZURE_ARTIFACT_NUGET_KEY }} -EdFiNuGetFeed ${{env.AZURE_ARTIFACT_URL}} -PackageName "EdFi.Suite3.Ods.Minimal.Template.TPDM.Core.${{ matrix.ExtensionVersion }}.Standard.${{ matrix.StandardVersion }}" shell: powershell diff --git a/.github/workflows/Pkg EdFi.Ods.Minimal.Template.yml b/.github/workflows/Pkg EdFi.Ods.Minimal.Template.yml index a0914222bc..1d3411fd76 100644 --- a/.github/workflows/Pkg EdFi.Ods.Minimal.Template.yml +++ b/.github/workflows/Pkg EdFi.Ods.Minimal.Template.yml @@ -140,7 +140,7 @@ jobs: .\build.githubactions.ps1 pack -Configuration ${{ env.CONFIGURATION }} -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuspecFilePath "$env:GITHUB_WORKSPACE/Ed-Fi-ODS-Implementation/DatabaseTemplate/Database/EdFi.Ods.Minimal.Template.Standard.${{ matrix.StandardVersion }}.nuspec" -PackageName "EdFi.Suite3.Ods.Minimal.Template.Standard.${{ matrix.StandardVersion }}" shell: powershell - name: Install-credential-handler - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} working-directory: ./Ed-Fi-ODS-Implementation/ run: | Import-Module -Force -Scope Global "$env:GITHUB_WORKSPACE/Ed-Fi-ODS-Implementation/logistics/scripts/modules/utility/cross-platform.psm1" @@ -174,7 +174,7 @@ jobs: shell: powershell - name: publish working-directory: ./Ed-Fi-ODS/ - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} run: | .\build.githubactions.ps1 publish -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuGetApiKey ${{ env.AZURE_ARTIFACT_NUGET_KEY }} -EdFiNuGetFeed ${{env.AZURE_ARTIFACT_URL}} -PackageName "EdFi.Suite3.Ods.Minimal.Template.Standard.${{ matrix.StandardVersion }}" shell: powershell diff --git a/.github/workflows/Pkg EdFi.Ods.Populated.Template.PostgreSQL.yml b/.github/workflows/Pkg EdFi.Ods.Populated.Template.PostgreSQL.yml index cdf2ec4cde..9fd90c2562 100644 --- a/.github/workflows/Pkg EdFi.Ods.Populated.Template.PostgreSQL.yml +++ b/.github/workflows/Pkg EdFi.Ods.Populated.Template.PostgreSQL.yml @@ -147,13 +147,13 @@ jobs: .\build.githubactions.ps1 pack -Configuration ${{ env.CONFIGURATION }} -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuspecFilePath "$env:GITHUB_WORKSPACE/Ed-Fi-ODS-Implementation/DatabaseTemplate/Database/EdFi.Ods.Populated.Template.PostgreSQL.Standard.${{ matrix.StandardVersion }}.nuspec" -PackageName "EdFi.Suite3.Ods.Populated.Template.PostgreSQL.Standard.${{ matrix.StandardVersion }}" shell: pwsh - name: Install-credential-handler - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} working-directory: ./Ed-Fi-ODS/ run: | .\build.githubactions.ps1 InstallCredentialHandler shell: pwsh - name: publish - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} working-directory: ./Ed-Fi-ODS/ run: | .\build.githubactions.ps1 publish -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuGetApiKey ${{ env.AZURE_ARTIFACT_NUGET_KEY }} -EdFiNuGetFeed ${{env.AZURE_ARTIFACT_URL}} -PackageName "EdFi.Suite3.Ods.Populated.Template.PostgreSQL.Standard.${{ matrix.StandardVersion }}" diff --git a/.github/workflows/Pkg EdFi.Ods.Populated.Template.TPDM.PostgreSQL.yml b/.github/workflows/Pkg EdFi.Ods.Populated.Template.TPDM.PostgreSQL.yml index f786199c3e..9d019fc867 100644 --- a/.github/workflows/Pkg EdFi.Ods.Populated.Template.TPDM.PostgreSQL.yml +++ b/.github/workflows/Pkg EdFi.Ods.Populated.Template.TPDM.PostgreSQL.yml @@ -153,13 +153,13 @@ jobs: .\build.githubactions.ps1 pack -Configuration ${{ env.CONFIGURATION }} -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuspecFilePath "$env:GITHUB_WORKSPACE/Ed-Fi-ODS-Implementation/DatabaseTemplate/Database/EdFi.Ods.Populated.Template.TPDM.Core.${{ matrix.ExtensionVersion }}.PostgreSQL.Standard.${{ matrix.StandardVersion }}.nuspec" -PackageName "EdFi.Suite3.Ods.Populated.Template.TPDM.Core.${{ matrix.ExtensionVersion }}.PostgreSQL.Standard.${{ matrix.StandardVersion }}" shell: pwsh - name: Install-credential-handler - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} working-directory: ./Ed-Fi-ODS/ run: | .\build.githubactions.ps1 InstallCredentialHandler shell: pwsh - name: publish - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} working-directory: ./Ed-Fi-ODS/ run: | .\build.githubactions.ps1 publish -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuGetApiKey ${{ env.AZURE_ARTIFACT_NUGET_KEY }} -EdFiNuGetFeed ${{env.AZURE_ARTIFACT_URL}} -PackageName "EdFi.Suite3.Ods.Populated.Template.TPDM.Core.${{ matrix.ExtensionVersion }}.PostgreSQL.Standard.${{ matrix.StandardVersion }}" diff --git a/.github/workflows/Pkg EdFi.Ods.Populated.Template.TPDM.yml b/.github/workflows/Pkg EdFi.Ods.Populated.Template.TPDM.yml index 8c43f367f2..ec829bac0e 100644 --- a/.github/workflows/Pkg EdFi.Ods.Populated.Template.TPDM.yml +++ b/.github/workflows/Pkg EdFi.Ods.Populated.Template.TPDM.yml @@ -148,7 +148,7 @@ jobs: .\build.githubactions.ps1 pack -Configuration ${{ env.CONFIGURATION }} -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuspecFilePath "$env:GITHUB_WORKSPACE/Ed-Fi-ODS-Implementation/DatabaseTemplate/Database/EdFi.Ods.Populated.Template.TPDM.Core.${{ matrix.ExtensionVersion }}.Standard.${{ matrix.StandardVersion }}.nuspec" -PackageName "EdFi.Suite3.Ods.Populated.Template.TPDM.Core.${{ matrix.ExtensionVersion }}.Standard.${{ matrix.StandardVersion }}" shell: powershell - name: Install-credential-handler - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} working-directory: ./Ed-Fi-ODS-Implementation/ run: | Import-Module -Force -Scope Global "$env:GITHUB_WORKSPACE/Ed-Fi-ODS-Implementation/logistics/scripts/modules/utility/cross-platform.psm1" @@ -181,7 +181,7 @@ jobs: } shell: powershell - name: publish - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} working-directory: ./Ed-Fi-ODS/ run: | .\build.githubactions.ps1 publish -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuGetApiKey ${{ env.AZURE_ARTIFACT_NUGET_KEY }} -EdFiNuGetFeed ${{env.AZURE_ARTIFACT_URL}} -PackageName "EdFi.Suite3.Ods.Populated.Template.TPDM.Core.${{ matrix.ExtensionVersion }}.Standard.${{ matrix.StandardVersion }}" diff --git a/.github/workflows/Pkg EdFi.Ods.Populated.Template.yml b/.github/workflows/Pkg EdFi.Ods.Populated.Template.yml index 16bd66ab27..3b7932db2b 100644 --- a/.github/workflows/Pkg EdFi.Ods.Populated.Template.yml +++ b/.github/workflows/Pkg EdFi.Ods.Populated.Template.yml @@ -140,7 +140,7 @@ jobs: .\build.githubactions.ps1 pack -Configuration ${{ env.CONFIGURATION }} -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuspecFilePath "$env:GITHUB_WORKSPACE/Ed-Fi-ODS-Implementation/DatabaseTemplate/Database/EdFi.Ods.Populated.Template.Standard.${{ matrix.StandardVersion }}.nuspec" -PackageName "EdFi.Suite3.Ods.Populated.Template.Standard.${{ matrix.StandardVersion }}" shell: powershell - name: Install-credential-handler - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} working-directory: ./Ed-Fi-ODS-Implementation/ run: | Import-Module -Force -Scope Global "$env:GITHUB_WORKSPACE/Ed-Fi-ODS-Implementation/logistics/scripts/modules/utility/cross-platform.psm1" @@ -173,7 +173,7 @@ jobs: } shell: powershell - name: publish - if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && env.EVENT_NAME == 'workflow_dispatch' }} + if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }} working-directory: ./Ed-Fi-ODS/ run: | .\build.githubactions.ps1 publish -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -NuGetApiKey ${{ env.AZURE_ARTIFACT_NUGET_KEY }} -EdFiNuGetFeed ${{env.AZURE_ARTIFACT_URL}} -PackageName "EdFi.Suite3.Ods.Populated.Template.Standard.${{ matrix.StandardVersion }}"