Artifact upload and download in one workflow via API

Hello everyone,

I want to upload an artifact with the official upload action and list/download it right after via API.

This seems not to work as it always return that there are no artifact.

Test Repo

Please see here the pipeline result here

…new user can only put two links in a post …

Step: “list artifact from the running workflow”
direct link to the step
Does not work and return always 0

Step: “ist artifacts from a previous pipeline”
direct link to the step
Does work but this is for a older already finished pipeline (hardcoded run_id)

… new user can only put two links in a post …

Step: “Download artifact with github action”
direct link here
This is what I don`t understand because obviously the artifact can be downloaded by the official GitHub Action but why can I not list it then?

FYI:
It seems related but there is not clear answer
Link here