Skip to content

Commit

Permalink
Update github action for 6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
inversionhourglass committed Sep 11, 2024
1 parent 1dc9a21 commit 0fc35d7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/publish-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,10 @@ jobs:
$branchName = "${{ github.ref_name }}"
if ($branchName -ne "pre/basic") {
Gallery-Version -packageName "DependencyInjection.StaticAccessor"
}
if ($branchName -ne "pre/hosting") {
Gallery-Version -packageName "DependencyInjection.StaticAccessor.Hosting"
if ($branchName -ne "pre/hosting") {
Gallery-Version -packageName "DependencyInjection.StaticAccessor.Hosting"
}
}
- name: Build Solution
Expand All @@ -100,11 +101,11 @@ jobs:
}
if ($branchName -eq "pre/hosting") {
$pkgs = @("DependencyInjection.StaticAccessor.Hosting", "DependencyInjection.StaticAccessor.Blazor")
$pkgs = @("DependencyInjection.StaticAccessor.Hosting")
}
if ($branchName -eq "pre/basic") {
$pkgs = @("DependencyInjection.StaticAccessor", "DependencyInjection.StaticAccessor.Hosting", "DependencyInjection.StaticAccessor.Blazor", "DependencyInjection.StaticAccessor.Blazor.WebAssembly")
$pkgs = @("DependencyInjection.StaticAccessor", "DependencyInjection.StaticAccessor.Hosting")
}
foreach ($pkg in $pkgs) {
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/publish-release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,12 @@ jobs:
}
$tagName = "${{ github.ref_name }}"
if ($tagName -ne "basic-") {
if ($tagName -notlike "basic-*") {
Gallery-Version -packageName "DependencyInjection.StaticAccessor"
}
if ($tagName -ne "hosting-") {
Gallery-Version -packageName "DependencyInjection.StaticAccessor.Hosting"
if ($tagName -notlike "hosting-*") {
Gallery-Version -packageName "DependencyInjection.StaticAccessor.Hosting"
}
}
- name: Build Solution
Expand Down Expand Up @@ -93,11 +94,11 @@ jobs:
}
if ($tagName -like "hosting-*") {
$pkgs = @("DependencyInjection.StaticAccessor.Hosting", "DependencyInjection.StaticAccessor.Blazor")
$pkgs = @("DependencyInjection.StaticAccessor.Hosting")
}
if ($tagName -like "basic-*") {
$pkgs = @("DependencyInjection.StaticAccessor", "DependencyInjection.StaticAccessor.Hosting", "DependencyInjection.StaticAccessor.Blazor", "DependencyInjection.StaticAccessor.Blazor.WebAssembly")
$pkgs = @("DependencyInjection.StaticAccessor", "DependencyInjection.StaticAccessor.Hosting")
}
foreach ($pkg in $pkgs) {
Expand Down

0 comments on commit 0fc35d7

Please sign in to comment.