Incorrect action name reference in docs

The Persisting workflow data using artifacts page refers to upload-archive and download-archive actions, but shouldn’t these be named correctly to upload-artifact and download-artifact in the docs?

Also, is it possible to upload the artifacts as a release asset, so that an action re-run can download it if needed, because artifacts seem to be limited to a single workflow run?

Thank you for reporting this document issue. We have corrected it to ‘upload-artifact’ and ‘download-artifact’.

Using upload artifact and download artifact actions is to pass data between jobs in a workflow. You are right, artifact is limited to a single workflow run.

https://help.github.com/en/actions/automating-your-workflow-with-github-actions/persisting-workflow-data-using-artifacts#passing-data-between-jobs-in-a-workflow

There is an action for uploading release asset https://github.com/actions/upload-release-asset, please check whether it could match your requirement.