Skip to content

Commit

Permalink
Add module dependency to build agent
Browse files Browse the repository at this point in the history
  • Loading branch information
jvlflame committed Sep 2, 2020
1 parent 30ff11a commit b26ee46
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions azure-pipelines.yml
Expand Up @@ -11,6 +11,7 @@ jobs:
- pwsh: |
$PSVersionTable
.\actions_bootstrap.ps1
Install-Module Logging -RequiredVersion 4.4.0 -Force
Invoke-Build -File $(Build.SourcesDirectory)\src\Javinizer.build.ps1
displayName: 'Build and Test - Windows pwsh'
- task: PublishTestResults@2
Expand All @@ -35,7 +36,7 @@ jobs:
sudo apt-get install -f
displayName: 'Install PowerShell Core'
- script: |
pwsh -c '$PSVersionTable;.\actions_bootstrap.ps1;Invoke-Build -File $(Build.SourcesDirectory)/src/Javinizer.build.ps1'
pwsh -c 'Install-Module Logging -RequiredVersion 4.4.0 -Force;$PSVersionTable;.\actions_bootstrap.ps1;Invoke-Build -File $(Build.SourcesDirectory)/src/Javinizer.build.ps1'
displayName: 'Build and Test - Linux'
- task: PublishTestResults@2
inputs:
Expand All @@ -54,7 +55,7 @@ jobs:
brew cask install powershell
displayName: 'Install PowerShell Core'
- script: |
pwsh -c '$PSVersionTable;.\actions_bootstrap.ps1;Invoke-Build -File $(Build.SourcesDirectory)/src/Javinizer.build.ps1'
pwsh -c 'Install-Module Logging -RequiredVersion 4.4.0 -Force;$PSVersionTable;.\actions_bootstrap.ps1;Invoke-Build -File $(Build.SourcesDirectory)/src/Javinizer.build.ps1'
displayName: 'Build and Test'
- task: PublishTestResults@2
inputs:
Expand Down

0 comments on commit b26ee46

Please sign in to comment.