Skip to content

Commit

Permalink
Try include-hidden-files: true
Browse files Browse the repository at this point in the history
  • Loading branch information
keenangraham committed Dec 10, 2024
1 parent 3743ce4 commit 55e39ad
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .github/workflows/release.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion .projenrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { awscdk } = require('projen');
const { awscdk, JsonPatch } = require('projen');
const { DependabotScheduleInterval } = require('projen/lib/github');

const PROJECT_NAME = 'cdk-eks-karpenter';
Expand Down Expand Up @@ -66,4 +66,12 @@ project.addTask('test:synth', {
project.github.actions.set('actions/download-artifact', 'actions/[email protected]');
project.github.actions.set('actions/upload-artifact', 'actions/[email protected]');

// https://github.com/actions/upload-artifact/issues/602
build_workflow = project.tryFindObjectFile('.github/workflows/build.yml');
build_workflow.patch(JsonPatch.add('/jobs/build/steps/5/with/include-hidden-files', true))
build_workflow.patch(JsonPatch.add('/jobs/build/steps/8/with/include-hidden-files', true))

build_workflow = project.tryFindObjectFile('.github/workflows/release.yml');
build_workflow.patch(JsonPatch.add('/jobs/release/steps/7/with/include-hidden-files', true))

project.synth();

0 comments on commit 55e39ad

Please sign in to comment.