azure-blob-storage-upload icon indicating copy to clipboard operation
azure-blob-storage-upload copied to clipboard

`[]` response with no errors (and no file uploaded)

Open tommed opened this issue 1 year ago • 1 comments

I believe I have completed the necessary fields to utilise this action, (sensitive data redacted)

# ...
      - run: zip -r /tmp/codagami-webhook-latest.zip *
      - uses: bacongobbler/azure-blob-storage-upload@main
        with:
          source_dir: /tmp
          account_name: OUR_STORAGE_ACCOUNT_NAME
          container_name: OUR_CONTAINER_NAME
          sas_token: ${{ secrets.AZURE_STORAGE_SAS_TOKEN }}
          extra_args: '--pattern *.zip'
          overwrite: 'true'

However, the file(s) aren't being uploaded. Scrolling to the bottom of the log I can see the status:

Notice:  A new release of pip available: 22.2.1 -> 22.2.2
Notice:  To update, run: pip install --upgrade pip

[]

So it doesn't appear to be doing anything?

tommed avatar Aug 16 '22 15:08 tommed

Looks fine to me. This is the exact pattern I use for several of my work/personal projects.

Let me know if you find anything that could lead to a patch.

bacongobbler avatar Aug 19 '22 14:08 bacongobbler

I'm running into the same issue now, and I suspect it's related to the --pattern *.zip glob in the extra_args field. If I run the action without the pattern option it uploads as expected, but as soon as I add the file filter no files are uploaded.

sindrehan avatar Oct 04 '22 10:10 sindrehan