Skip to content

Commit 8860e77

Browse files
Merge pull request #36 from max-ieremenko/release/4.2.0
Release/4.2.0
2 parents 00959dc + 2f197e2 commit 8860e77

763 files changed

Lines changed: 7872 additions & 7313 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- 'release/**'
8+
paths-ignore:
9+
- '**.md'
10+
pull_request:
11+
branches:
12+
- master
13+
- 'release/**'
14+
paths-ignore:
15+
- '**.md'
16+
17+
jobs:
18+
build:
19+
name: win-build
20+
runs-on: windows-latest
21+
22+
steps:
23+
- uses: actions/checkout@v3
24+
25+
- name: Install dependencies
26+
shell: pwsh
27+
run: ./Build/install-dependencies.ps1
28+
29+
- name: Dotnet info
30+
shell: pwsh
31+
run: dotnet --info
32+
33+
- name: Build
34+
shell: pwsh
35+
run: ./Build/build.ps1 -Mode "github" -GithubToken "${{ secrets.GITHUB_TOKEN }}"
36+
37+
- name: Artifacts
38+
uses: actions/upload-artifact@v3
39+
with:
40+
name: packages
41+
path: |
42+
.\bin\artifacts\*.nupkg
43+
.\bin\artifacts\*.zip
44+
if-no-files-found: error

Build/README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@
33
build.ps1 is designed to run on windows
44

55
- PowerShell Desktop 5.1
6-
- PowerShell [7.3.0](https://github.com/PowerShell/PowerShell/releases/tag/v7.3.0) for .net 7.0 tests
6+
- PowerShell [7.3.0](https://github.com/PowerShell/PowerShell/releases/tag/v7.3.0) for .net 7.0 and 8.0 tests
77
- PowerShell [7.2.1](https://github.com/PowerShell/PowerShell/releases/tag/v7.2.1) for .net 6.0 tests
8-
- PowerShell [7.1.5](https://github.com/PowerShell/PowerShell/releases/tag/v7.1.5) for .net 5.0 tests
9-
- PowerShell [7.0.8](https://github.com/PowerShell/PowerShell/releases/tag/v7.0.8) for .net core 3.1 tests
10-
- Install-Module -Name [InvokeBuild](https://www.powershellgallery.com/packages/InvokeBuild/5.9.12) -RequiredVersion 5.9.12
11-
- Install-Module -Name [ThirdPartyLibraries](https://www.powershellgallery.com/packages/ThirdPartyLibraries/3.1.2) -RequiredVersion 3.1.2
8+
- Install-Module -Name [InvokeBuild](https://www.powershellgallery.com/packages/InvokeBuild/5.10.4) -RequiredVersion 5.10.4
9+
- Install-Module -Name [ThirdPartyLibraries](https://www.powershellgallery.com/packages/ThirdPartyLibraries/3.4.1) -RequiredVersion 3.4.1
1210
- .net framework 4.7.2+ sdk
13-
- .net 7.0 sdk
11+
- .net 8.0 sdk
1412
- docker, switched to linux containers
1513

1614
## How to build

Build/build-scripts.ps1

Lines changed: 0 additions & 185 deletions
This file was deleted.

Build/build.ps1

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,23 @@
11
#Requires -Version "7.0"
2-
#Requires -Modules @{ ModuleName="InvokeBuild"; ModuleVersion="5.9.12" }
2+
#Requires -Modules @{ ModuleName="InvokeBuild"; ModuleVersion="5.10.4" }
3+
#Requires -Modules @{ ModuleName="ThirdPartyLibraries"; ModuleVersion="3.4.1" }
4+
5+
[CmdletBinding()]
6+
param (
7+
[Parameter()]
8+
[ValidateSet("local", "github")]
9+
[string]
10+
$Mode,
11+
12+
[Parameter()]
13+
[string]
14+
$GithubToken
15+
)
316

417
Set-StrictMode -Version Latest
518
$ErrorActionPreference = "Stop"
619

7-
$file = Join-Path $PSScriptRoot "build-tasks.ps1"
8-
Invoke-Build -File $file
20+
$file = Join-Path $PSScriptRoot "tasks/build-tasks.ps1"
21+
$task = ($Mode -eq "github") ? "GithubBuild" : "LocalBuild"
22+
23+
Invoke-Build -File $file -Task $task -GithubToken $GithubToken

Build/create-images-tasks.ps1

Lines changed: 0 additions & 114 deletions
This file was deleted.

0 commit comments

Comments
 (0)