Skip to content

Commit

Permalink
fix(artifact): importing @actions/artifact using CommonJS module and …
Browse files Browse the repository at this point in the history
…using only if GITLEAKS_ENABLE_UPLOAD_ARTIFACT set to true

- @actions artifact requires importing DefaultArtifactClient to use client
- creating DefaultArtifactClient instance only if GITLEAKS_ENABLE_UPLOAD_ARTIFACT set to true, client does not need if env options set to false
  • Loading branch information
codykhon committed May 30, 2024
1 parent f19e05d commit db1cd20
Show file tree
Hide file tree
Showing 3 changed files with 871 additions and 906 deletions.
Loading

0 comments on commit db1cd20

Please sign in to comment.