google-github-actions / upload-cloud-storage

A GitHub Action for uploading files to a Google Cloud Storage (GCS) bucket.
https://cloud.google.com/storage
Apache License 2.0
206 stars 49 forks source link

bug: fix parent detection for single files #269

Closed sethvargo closed 2 years ago

sethvargo commented 2 years ago

Restore the previous behavior where the parent directory was not included when given a path to a file directly at the root.

Fixes https://github.com/google-github-actions/upload-cloud-storage/issues/259