File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -14,23 +14,28 @@ jobs:
1414 uses : actions/checkout@v4
1515 with :
1616 token : ${{ secrets.ACCESS_TOKEN }}
17- - name : " Build Access file (accdb/accde)"
18- id : build_access_file
19- uses : AccessCodeLib/msaccess-vcs-build@main
20- with :
21- source-dir : " ./source"
17+ - name : " Installing Office 365 (takes about 5 minutes...)"
18+ id : " install_office"
19+ shell : pwsh
20+ run : choco install office365proplus -y
2221 timeout-minutes : 10
2322 - name : " Display Chocolatey logs in case of Office install failure"
24- if : failure() && steps.build_access_file .outcome == 'failure'
23+ if : failure() && steps.install_office .outcome == 'failure'
2524 run : |
2625 if (Test-Path -Path "C:\ProgramData\chocolatey\logs\chocolatey.log") {
2726 Write-Host "============ Chocolatey Log Contents ============"
2827 Get-Content -Path "C:\ProgramData\chocolatey\logs\chocolatey.log"
29- Write-Host "==================================== ============="
28+ Write-Host "============ End of Chocolatey Logs ============="
3029 } else {
3130 Write-Host "Chocolatey log file not found at C:\ProgramData\chocolatey\logs\chocolatey.log"
3231 }
3332 shell : pwsh
33+ - name : " Build Access file (accdb/accde)"
34+ id : build_access_file
35+ uses : AccessCodeLib/msaccess-vcs-build@main
36+ with :
37+ source-dir : " ./source"
38+ timeout-minutes : 10
3439 - name : " Upload Build Artifact"
3540 uses : actions/upload-artifact@v4
3641 id : " upload"
You can’t perform that action at this time.
0 commit comments