Skip to content

Commit aba2348

Browse files
committed
Account for restructure of solution files in workflows
1 parent 757459e commit aba2348

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflow-gen/Program.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ void GenerateIdentityServerWorkflow(Product product)
3939
.RunEitherOnBranchOrAsPR()
4040
.Name("Build")
4141
.RunsOn(GitHubHostedRunners.UbuntuLatest)
42-
.Defaults().Run("bash", ".")
42+
.Defaults().Run("bash", product.Name)
4343
.Job;
4444

4545
job.Permissions(
@@ -87,7 +87,7 @@ void GenerateIdentityServerReleaseWorkflow(Product product)
8787
.Name("Tag and Pack")
8888
.RunsOn(GitHubHostedRunners.UbuntuLatest)
8989
.Permissions(contents: Permission.Write, packages: Permission.Write)
90-
.Defaults().Run("bash", ".").Job;
90+
.Defaults().Run("bash", product.Name).Job;
9191

9292
job.Step()
9393
.ActionsCheckout();
@@ -440,7 +440,7 @@ public static Step StepUploadPlaywrightTestTraces(this Job job, string component
440440

441441
public static void StepUploadArtifacts(this Job job, string componentName, bool uploadAlways = false)
442442
{
443-
var path = $"artifacts/*.nupkg";
443+
var path = $"{componentName}/artifacts/*.nupkg";
444444
var step = job.Step()
445445
.Name("Upload Artifacts");
446446

.github/workflows/identity-server-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
defaults:
3030
run:
3131
shell: bash
32-
working-directory: .
32+
working-directory: identity-server
3333
timeout-minutes: 15
3434
steps:
3535
- name: Checkout
@@ -77,6 +77,6 @@ jobs:
7777
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
7878
with:
7979
name: artifacts
80-
path: artifacts/*.nupkg
80+
path: identity-server/artifacts/*.nupkg
8181
overwrite: true
8282
retention-days: 15

.github/workflows/identity-server-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
defaults:
3333
run:
3434
shell: bash
35-
working-directory: .
35+
working-directory: identity-server
3636
steps:
3737
- name: Checkout
3838
uses: actions/checkout@v4
@@ -83,7 +83,7 @@ jobs:
8383
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
8484
with:
8585
name: artifacts
86-
path: artifacts/*.nupkg
86+
path: identity-server/artifacts/*.nupkg
8787
overwrite: true
8888
retention-days: 15
8989
publish:

0 commit comments

Comments
 (0)