mirror of
https://github.com/DuendeSoftware/products
synced 2026-05-24 09:28:24 +00:00
Account for restructure of solution files in workflows
This commit is contained in:
parent
757459e54f
commit
aba2348e01
3 changed files with 7 additions and 7 deletions
6
.github/workflow-gen/Program.cs
vendored
6
.github/workflow-gen/Program.cs
vendored
|
|
@ -39,7 +39,7 @@ void GenerateIdentityServerWorkflow(Product product)
|
|||
.RunEitherOnBranchOrAsPR()
|
||||
.Name("Build")
|
||||
.RunsOn(GitHubHostedRunners.UbuntuLatest)
|
||||
.Defaults().Run("bash", ".")
|
||||
.Defaults().Run("bash", product.Name)
|
||||
.Job;
|
||||
|
||||
job.Permissions(
|
||||
|
|
@ -87,7 +87,7 @@ void GenerateIdentityServerReleaseWorkflow(Product product)
|
|||
.Name("Tag and Pack")
|
||||
.RunsOn(GitHubHostedRunners.UbuntuLatest)
|
||||
.Permissions(contents: Permission.Write, packages: Permission.Write)
|
||||
.Defaults().Run("bash", ".").Job;
|
||||
.Defaults().Run("bash", product.Name).Job;
|
||||
|
||||
job.Step()
|
||||
.ActionsCheckout();
|
||||
|
|
@ -440,7 +440,7 @@ public static class StepExtensions
|
|||
|
||||
public static void StepUploadArtifacts(this Job job, string componentName, bool uploadAlways = false)
|
||||
{
|
||||
var path = $"artifacts/*.nupkg";
|
||||
var path = $"{componentName}/artifacts/*.nupkg";
|
||||
var step = job.Step()
|
||||
.Name("Upload Artifacts");
|
||||
|
||||
|
|
|
|||
4
.github/workflows/identity-server-ci.yml
vendored
4
.github/workflows/identity-server-ci.yml
vendored
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
working-directory: .
|
||||
working-directory: identity-server
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
@ -77,6 +77,6 @@ jobs:
|
|||
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
|
||||
with:
|
||||
name: artifacts
|
||||
path: artifacts/*.nupkg
|
||||
path: identity-server/artifacts/*.nupkg
|
||||
overwrite: true
|
||||
retention-days: 15
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ jobs:
|
|||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
working-directory: .
|
||||
working-directory: identity-server
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
|
@ -83,7 +83,7 @@ jobs:
|
|||
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
|
||||
with:
|
||||
name: artifacts
|
||||
path: artifacts/*.nupkg
|
||||
path: identity-server/artifacts/*.nupkg
|
||||
overwrite: true
|
||||
retention-days: 15
|
||||
publish:
|
||||
|
|
|
|||
Loading…
Reference in a new issue