An artifact is a file produced by a job, such as a compiled binary, a test report or a package, kept to be downloaded or passed to another job. You publish it with actions/upload-artifact and retrieve it with actions/download-artifact.
Example
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/