Skip to content

chore: upgrade @google-cloud/storage to 7.8.0 (stream-shift issue) and ObjectMetadata casting problem#3

Open
hradaideh wants to merge 3 commits into
pass-culture-github-actions:mainfrom
hradaideh:fix
Open

chore: upgrade @google-cloud/storage to 7.8.0 (stream-shift issue) and ObjectMetadata casting problem#3
hradaideh wants to merge 3 commits into
pass-culture-github-actions:mainfrom
hradaideh:fix

Conversation

@hradaideh

@hradaideh hradaideh commented Jul 8, 2024

Copy link
Copy Markdown

based on #2 @MPV

This PR is forked from his repo, and added a fix for the casting problem (thanks chatGPT) and then packaging the code to generate newly compiled version

this will help blocked people like myself to use the commit ID and reference it in their actions to unlock the work


Generated by CoPilot

This pull request primarily focuses on updating the package.json file and making type casting changes in the src/main.ts file. The package.json changes include updates to the package version, repository URL, issues URL, homepage URL, and a dependency version. The src/main.ts changes involve modifying the type casting of ObjectMetadata to unknown as ObjectMetadata.

Updates to package.json:

  • Bumped the package version from 1.0.0 to 1.0.1.
  • Changed the repository URL, issues URL, and homepage URL from pass-culture-github-actions/gcs-cache to halradaideh/gcs-cache. [1] [2] [3]
  • Updated the version of the @google-cloud/storage dependency from 6.9.4 to 7.8.0.

Changes to src/main.ts:

  • Modified the type casting of ObjectMetadata to unknown as ObjectMetadata in the getBestMatch function and the main function. [1] [2] [3]

@hradaideh

Copy link
Copy Markdown
Author

put this

        uses: pass-culture-github-actions/gcs-cache@fb13b5ca6f16e7fff92d1fcc140c785f1922cf6a

@hradaideh hradaideh changed the title Fix chore: upgrade @google-cloud/storage to 7.8.0 (stream-shift issue) and ObjectMetadata casting problem Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants