Closed exoego closed 5 months ago
Hi there - could you please provide the debug output for the complete GitHub Actions workflow run?
I had a similar experience when following the instructions from the README. The log for the action step is first the inputs:
Run google-github-actions/upload-cloud-storage@v2
with:
path: dist/kolibri-0.16.0-py.py3-none-any.whl
destination: ***/downloads/kolibri/v0.16.0/kolibri-0.16.0-py2.py-none-any.whl
gzip: true
resumable: true
parent: true
concurrency: 100
process_gcloudignore: true
Then the actual upload, you can see puts the filename in a folder called the filename. I am guessing that actually specifying the filename in this way isn't supported, or requires a different argument? Either way, that's not what the README shows.
Upload files
Uploading /home/runner/work/kolibri/kolibri/dist/kolibri-0.16.0-py2.py3-none-any.whl to gs://***/downloads/kolibri/v0.16.0/kolibri-0.16.0-py2.py3-none-any.whl/kolibri-0.16.0-py2.py3-none-any.whl
TL;DR
I've followed the "uploading a file" example but the file was uploaded to
bucket-name/file-name/file-name
. This example: https://github.com/google-github-actions/upload-cloud-storage/blob/22121cd842b0d185e042e28d969925b538c33d77/README.md#L51-L55Expected behavior
The file
build/native/nativeCompile/my-app.exe
is uploaded tomy-bucket/my-app.exe
Observed behavior
The file
build/native/nativeCompile/my-app.exe
was uploaded tomy-bucket/my-app.exe/my-app.exe
Action YAML
Log output
No response
Additional information