diff --git a/src/pipeline.ts b/src/pipeline.ts index 1bee61bf..856f1d82 100644 --- a/src/pipeline.ts +++ b/src/pipeline.ts @@ -920,6 +920,7 @@ export class GitHubWorkflow extends PipelineBase { with: { name: CDKOUT_ARTIFACT, path: dir, + ['include-hidden-files']: true, }, }]; } diff --git a/test/__snapshots__/github.cn.test.ts.snap b/test/__snapshots__/github.cn.test.ts.snap index bffe34d4..8a1ba6d1 100644 --- a/test/__snapshots__/github.cn.test.ts.snap +++ b/test/__snapshots__/github.cn.test.ts.snap @@ -403,6 +403,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: @@ -524,6 +525,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true " `; @@ -557,6 +559,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 if: github.repository == 'account/repo' @@ -681,6 +684,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: @@ -808,6 +812,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true " `; @@ -840,6 +845,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: @@ -964,6 +970,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true " `; @@ -996,6 +1003,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: diff --git a/test/__snapshots__/github.test.ts.snap b/test/__snapshots__/github.test.ts.snap index 31614ad0..373c453f 100644 --- a/test/__snapshots__/github.test.ts.snap +++ b/test/__snapshots__/github.test.ts.snap @@ -403,6 +403,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: @@ -524,6 +525,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true " `; @@ -556,6 +558,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: @@ -688,6 +691,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: @@ -820,6 +824,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: @@ -956,6 +961,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true " `; @@ -989,6 +995,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 if: github.repository == 'account/repo' @@ -1113,6 +1120,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: @@ -1240,6 +1248,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true " `; @@ -1272,6 +1281,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: @@ -1396,6 +1406,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true " `; @@ -1428,6 +1439,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: diff --git a/test/__snapshots__/runner-provided.cn.test.ts.snap b/test/__snapshots__/runner-provided.cn.test.ts.snap index 473977d2..ebf909fb 100644 --- a/test/__snapshots__/runner-provided.cn.test.ts.snap +++ b/test/__snapshots__/runner-provided.cn.test.ts.snap @@ -31,6 +31,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: diff --git a/test/__snapshots__/runner-provided.test.ts.snap b/test/__snapshots__/runner-provided.test.ts.snap index 86a0620f..60bc94ec 100644 --- a/test/__snapshots__/runner-provided.test.ts.snap +++ b/test/__snapshots__/runner-provided.test.ts.snap @@ -31,6 +31,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: diff --git a/test/__snapshots__/stage-options.cn.test.ts.snap b/test/__snapshots__/stage-options.cn.test.ts.snap index 2c4b63da..fb5adad5 100644 --- a/test/__snapshots__/stage-options.cn.test.ts.snap +++ b/test/__snapshots__/stage-options.cn.test.ts.snap @@ -32,6 +32,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 if: contains(fromJson('[\\"push\\", \\"pull_request\\"]'), github.event_name) @@ -160,6 +161,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: @@ -252,6 +254,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: @@ -344,6 +347,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: @@ -468,6 +472,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 if: contains(github.event.issue.labels.*.name, 'deployToA') || @@ -629,6 +634,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: @@ -721,6 +727,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: @@ -842,6 +849,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: diff --git a/test/__snapshots__/stage-options.test.ts.snap b/test/__snapshots__/stage-options.test.ts.snap index b2a2edee..223f6229 100644 --- a/test/__snapshots__/stage-options.test.ts.snap +++ b/test/__snapshots__/stage-options.test.ts.snap @@ -32,6 +32,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 if: contains(fromJson('[\\"push\\", \\"pull_request\\"]'), github.event_name) @@ -160,6 +161,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: @@ -252,6 +254,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: @@ -344,6 +347,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: @@ -468,6 +472,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 if: contains(github.event.issue.labels.*.name, 'deployToA') || @@ -629,6 +634,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: @@ -721,6 +727,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: @@ -842,6 +849,7 @@ jobs: with: name: cdk.out path: cdk.out + include-hidden-files: true Assets-FileAsset1: name: Publish Assets Assets-FileAsset1 needs: