Skip to content

Commit 4b84360

Browse files
committed
only test from 3.1 and up
1 parent 12bfb10 commit 4b84360

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/E2E.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ on:
3030
required: false
3131
default: 'preview'
3232

33+
env:
34+
TestUpgradesFromVersion: '3.1'
35+
3336
defaults:
3437
run:
3538
shell: pwsh
@@ -144,7 +147,7 @@ jobs:
144147
Add-Content -Encoding UTF8 -Path $env:GITHUB_OUTPUT -Value "testruns=$testrunsJson"
145148
Write-Host "testruns=$testrunsJson"
146149
147-
$releases = @(gh release list --repo microsoft/AL-Go | ForEach-Object { $_.split("`t")[0] })
150+
$releases = @(gh release list --repo microsoft/AL-Go | ForEach-Object { $_.split("`t")[0] }) | Where-Object { [Version]($_.trimStart('v') -ge [Version]($env:TestUpgradesFromVersion) }
148151
$releasesJson = @{
149152
"matrix" = @{
150153
"include" = @($releases | ForEach-Object { @{ "Release" = $_; "type" = 'appSourceApp' }; @{ "Release" = $_; "type" = 'PTE' } } )

0 commit comments

Comments
 (0)