
Upload Artifact
actions/upload-artifact
Upload artifacts from your workflow allowing you to share data between jobs
2,800stars
600forks
6.5M uses
Storagev4.3.1About
This action uploads artifacts from your workflow allowing you to share data between jobs and store data once a workflow is complete. Artifacts are files or collections of files produced during a workflow run.
Workflow Example
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/upload-artifact@v4
with:
fetch-depth: 0
- name: Run tests
run: npm testInputs
repositoryRepository name with owner
Default: ${{ github.repository }}
refThe branch, tag or SHA to checkout
tokenPersonal access token (PAT)
Default: ${{ github.token }}
fetch-depthNumber of commits to fetch
Default: 1
Related Actions
Metadata
Language
TypeScript
Last Updated
1/12/2024
Latest Release
v4.3.1