Skip to content

Commit

Permalink
Setup .NET Framework 4.8 Added
Browse files Browse the repository at this point in the history
  • Loading branch information
semalaiappan committed Mar 28, 2024
1 parent 83b71c1 commit b82af45
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/Pkg EdFi.ProjectTemplates.Installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
with:
repository: Ed-Fi-Alliance-OSS/Ed-Fi-ODS
- name: Setup .NET
uses: actions/setup-dotnet@c0d4ad69d8bd405d234f1c9166d383b7a4f69ed8 # 2.1.0
- name: Setup .NET Framework 4.8
uses: warrenbuckley/Setup-MSBuild@v1
with:
dotnet-version: '4.8'
msbuild-version: '16.0' # Use '16.0' for .NET Framework 4.x
- name: Cache Nuget packages
uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 #v3.2.3
with:
Expand All @@ -57,16 +57,13 @@ jobs:
}
shell: pwsh
- name: Restore NuGet packages
run: |
.\build.githubactions.ps1 restore -Solution "Utilities/VisualStudioProjectTemplates/EdFi.ProjectTemplates.sln"
run: msbuild "Utilities/VisualStudioProjectTemplates/EdFi.ProjectTemplates.sln" /t:Restore
shell: pwsh
- name: build
run: |
.\build.githubactions.ps1 build -Configuration ${{ env.CONFIGURATION }} -InformationalVersion ${{ env.INFORMATIONAL_VERSION}} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -Solution "Utilities/VisualStudioProjectTemplates/EdFi.ProjectTemplates.sln" -ProjectFile "Ed-Fi-ODS/Utilities/VisualStudioProjectTemplates/EdFi.ProjectTemplates.Installer/EdFi.ProjectTemplates.Installer.csproj"
run: msbuild "Utilities/VisualStudioProjectTemplates/EdFi.ProjectTemplates.sln" /p:Configuration=Release
shell: pwsh
- name: pack
run: |
.\build.githubactions.ps1 pack -InformationalVersion ${{ env.INFORMATIONAL_VERSION }} -BuildCounter ${{ github.run_number }} -BuildIncrementer ${{env.BUILD_INCREMENTER}} -Solution "Utilities/VisualStudioProjectTemplates/EdFi.ProjectTemplates.sln" -ProjectFile "Utilities/VisualStudioProjectTemplates/EdFi.ProjectTemplates.Installer/EdFi.ProjectTemplates.Installer.csproj" -PackageName "EdFi.Suite3.ProjectTemplates.Installer"
run: msbuild "Utilities/VisualStudioProjectTemplates/EdFi.ProjectTemplates.Installer/EdFi.ProjectTemplates.Installer.csproj" /p:Configuration=Release /t:Pack
shell: pwsh
- name: Install-credential-handler
if: ${{ env.AZURE_ARTIFACT_NUGET_KEY != '' && github.event_name == 'workflow_dispatch' }}
Expand Down

0 comments on commit b82af45

Please sign in to comment.