Skip to content

Commit

Permalink
Fixes sub-module related CI build issue (#20)
Browse files Browse the repository at this point in the history
* Updated scripted build

* Updated scripted build

* Updated scripted build

* Move submodule initialisation so it only happens before the compilation phase

* Enable SBOM publishing as part of CI build

Co-authored-by: dependjinbot <[email protected]>
  • Loading branch information
JamesDawson and dependjinbot authored Nov 9, 2022
1 parent 30d2cb0 commit 66b9f78
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
additionalNetSdkVersions:
- '7.x'
includeNetSdkPreviewVersions: 'true'
analysisOutputSasToken: $(Endjin_AnalysisOutput_SASToken)
compileTasksServiceConnection: endjin-acr-reader
12 changes: 6 additions & 6 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ param (
[string] $BuildModulePath,

[Parameter()]
[version] $BuildModuleVersion = "0.2.16",
[version] $BuildModuleVersion = "0.2.19",

[Parameter()]
[version] $InvokeBuildModuleVersion = "5.7.1"
Expand Down Expand Up @@ -166,15 +166,15 @@ task . FullBuild

# build extensibility tasks
task RunFirst {}
task PreInit {
task PreInit {}
task PostInit {}
task PreVersion {}
task PostVersion {}
task PreBuild {
Write-Host "Initialising submodule"
exec { & git submodule init }
exec { & git submodule update }
}
task PostInit {}
task PreVersion {}
task PostVersion {}
task PreBuild {}
task PostBuild {}
task PreTest {
# .net 7 bug workaround - ref: https://github.com/microsoft/vstest/issues/4014
Expand Down

0 comments on commit 66b9f78

Please sign in to comment.