Zip file name when specify the handler of a AWS Python function

I have a file that contains a handle() function.
I have a GitHub Action that create a file within the file.
After that it call this serverless.yml:

service: PingService

  name: aws
  runtime: python3.8

    handler: ping.handle
      - http:
          method: GET
          path: ping      

It fails because it cannot find the file.
It seems it is looking for a file named “{service name}.zip”
Where can I find documentation?
( says nothing about the source/zip for the handler.)
For a C# Lambda I use “package” and “artifact” to specify the zip file but it does not work with Python.
How can I specify the name of the zip file?