Skip to content

Commit 383659a

Browse files
committed
Work CI-CD
- Copying and publishing SDKCONFIG now occurs on success or failure. (may need to look into it if the build fails) ***NO_CI***
1 parent 9f60398 commit 383659a

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

azure-pipelines-templates/copy-sdkconfig.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ parameters:
88

99
steps:
1010
- task: CopyFiles@2
11-
condition: succeeded()
11+
condition: >-
12+
or(
13+
succeeded(),
14+
failed()
15+
)
1216
displayName: Copying SDKCONFIG
1317
inputs:
1418
sourceFolder: "${{ parameters.repoDirectory }}"

azure-pipelines-templates/publish-sdkconfig.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@
33

44
steps:
55
- task: PublishPipelineArtifact@1
6-
condition: succeeded()
76
displayName: Publish SDKCONFIG artifact
7+
condition: >-
8+
or(
9+
succeeded(),
10+
failed()
11+
)
812
inputs:
913
targetPath: '$(Build.ArtifactStagingDirectory)\$(TargetPublishName)_sdkconfig'
1014
artifactName: $(TargetPublishName)_sdkconfig

0 commit comments

Comments
 (0)