How can I use multiple job's artifacts as releases?

I have multiple jobs in build stage, each of them produce artifacts, then I want to publish them in release, Does someone know how to do? Please show me some examples.

job1:
  artifacts:
    paths:
      - file1.sh
job2:
  artifacts:
    paths:
      - file2.sh

job3:
  script:
     - .\file1.sh
     - .\file2.sh