Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 700 Bytes

artifacts.md

File metadata and controls

40 lines (29 loc) · 700 Bytes

How to share data between jobs and workflows


To upload an artifact

- uses: actions/upload-artifact@v3
  with:
    name: artifact_name
    path: path/to/artifact_filename

To download an artifact from the same workflow but different job

- uses: actions/download-artifact@v3
  with:
    name: artifact_name

To download an artifact from the different workflow

- uses: dawidd6/action-download-artifact@v2
  with:
    workflow: source_workflow.yml
    name: artifact_name

For executing the downloaded artifact

- name: Add permissions
  run: |
    chmod 777 artifact_filename
    ./artifact_filename