File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 )]
1616 $Extends
1717)
18+ Write-Information " $ ( $PSStyle.Foreground.BrightMagenta ) build.build.ps1$ ( $PSStyle.Reset ) "
1819
1920# # Self-contained build script - can be invoked directly or via Invoke-Build
2021if ($MyInvocation.ScriptName -notlike ' *Invoke-Build.ps1' ) {
@@ -27,6 +28,8 @@ if ($MyInvocation.ScriptName -notlike '*Invoke-Build.ps1') {
2728 exit 0
2829}
2930
31+ Write-Information " $ ( $PSStyle.Foreground.BrightMagenta ) Define Tasks$ ( $PSStyle.Reset ) "
32+
3033# Define your preferred default build for local dev:
3134Add-BuildTask . Initialize, Build, Test
3235
Original file line number Diff line number Diff line change 5959
6060# publish runs publish and push tasks if the tests pass and --push was specified.
6161# It needs the API keys to be passed in as secrets
62- publish :
62+ all :
6363 # If we only reference with FROM (or COPY) the outputs will not be produced
6464 BUILD +test
6565 FROM +build
66- RUN --push --secret NUGET_API_KEY --secret PSGALLERY_API_KEY -- \
67- pwsh -File "${IB_TASK_ROOT}/scripts/Invoke-Build.ps1" Publish, Push -Verbose
66+ RUN --push --secret NUGET_API_KEY --secret PSGALLERY_API_KEY \
67+ -- pwsh -File "${IB_TASK_ROOT}/scripts/Invoke-Build.ps1" Push -Verbose
You can’t perform that action at this time.
0 commit comments