Fix drone build pipeline #1
16
.drone.yml
16
.drone.yml
@ -17,7 +17,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- |
|
- |
|
||||||
pwsh -NonInteractive -c "& {
|
pwsh -NonInteractive -c "& {
|
||||||
Import-Module './src/DroneHelper.psd1';
|
Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
|
||||||
Invoke-FileLinter
|
Invoke-FileLinter
|
||||||
}"
|
}"
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- |
|
- |
|
||||||
pwsh -NonInteractive -c "& {
|
pwsh -NonInteractive -c "& {
|
||||||
Import-Module './src/DroneHelper.psd1';
|
Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
|
||||||
Invoke-Linter
|
Invoke-Linter
|
||||||
}"
|
}"
|
||||||
|
|
||||||
@ -37,7 +37,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- |
|
- |
|
||||||
pwsh -NonInteractive -c "& {
|
pwsh -NonInteractive -c "& {
|
||||||
Import-Module './src/DroneHelper.psd1';
|
Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
|
||||||
Invoke-UnitTest -ExcludeTag 'Integration'
|
Invoke-UnitTest -ExcludeTag 'Integration'
|
||||||
}"
|
}"
|
||||||
|
|
||||||
@ -52,7 +52,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- |
|
- |
|
||||||
pwsh -NonInteractive -c "& {
|
pwsh -NonInteractive -c "& {
|
||||||
Import-Module './src/DroneHelper.psd1';
|
Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
|
||||||
Send-PRComment
|
Send-PRComment
|
||||||
}"
|
}"
|
||||||
when:
|
when:
|
||||||
@ -65,7 +65,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- |
|
- |
|
||||||
pwsh -NonInteractive -c "& {
|
pwsh -NonInteractive -c "& {
|
||||||
Import-Module './src/DroneHelper.psd1';
|
Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
|
||||||
Invoke-BuildState
|
Invoke-BuildState
|
||||||
}"
|
}"
|
||||||
|
|
||||||
@ -88,12 +88,12 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- |
|
- |
|
||||||
pwsh -NonInteractive -c "& {
|
pwsh -NonInteractive -c "& {
|
||||||
Import-Module './src/DroneHelper.psd1';
|
Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
|
||||||
Update-ModuleMeta -Verbose
|
Update-ModuleMeta -Verbose
|
||||||
}"
|
}"
|
||||||
- |
|
- |
|
||||||
pwsh -NonInteractive -c "& {
|
pwsh -NonInteractive -c "& {
|
||||||
Import-Module './src/DroneHelper.psd1';
|
Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
|
||||||
New-BuildPackage -AdditionalPath './src/Rules' -Verbose
|
New-BuildPackage -AdditionalPath './src/Rules' -Verbose
|
||||||
}"
|
}"
|
||||||
|
|
||||||
@ -117,6 +117,6 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- |
|
- |
|
||||||
pwsh -NonInteractive -c "& {
|
pwsh -NonInteractive -c "& {
|
||||||
Import-Module './src/DroneHelper.psd1';
|
Import-Module './src/DroneHelper.psd1' -ErrorAction 'Stop';
|
||||||
Invoke-Publish -Verbose
|
Invoke-Publish -Verbose
|
||||||
}"
|
}"
|
||||||
|
Reference in New Issue
Block a user