Hi @krishna572
I think you're getting empty contents because Build variables is not set properly. This variable is set to a directory of compiled binaries which Python doesn't have. You can use the upload-artifacts' and
download-artifacts` actions instead.
- name: Upload artifact for deployment jobs
uses: actions/upload-artifact@v2
with:
name: python-app
path: |
.
!venv/
- uses: actions/download-artifact@v2
with:
name: python-app
path: .
While this blog post refers to deploying a Python app to an app service, the same principals apply to function app.