Skip to content

Upload test screenshots with unknown name #25169

Answered by weide-zhou
cecilian asked this question in Actions
Discussion options

You must be logged in to vote

Hi @cecilian ,

‘Path’ is required for action ‘actions/upload-artifact’ and not accpet pattern ‘*’. Hence, after you capature the screenshots, you can put them in a subfolder under root, specify the folder as the path value.

- name: Upload screenshots
        uses: actions/upload-artifact@v1
        with:
          name: screenshots
          path: ./scr #Put your screenshots in subfolder ./src before upload

Hope it helps!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants