You have a workflow that uploads a text file named my-artifact.txt:
steps:
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: my-artifact
path: my-artifact.txt
After the workflow run is complete, you're able to view it on the Summary tab of the GitHub actions UI:
When you click the name of the artifact, a file is downloaded to your local storage. Write the file name along with its extension.