Skip to content

Github Actions workspace is empty #26123

Answered by maxheld83
F21 asked this question in Actions
Discussion options

You must be logged in to vote

Coming from the “old” (HCL-based) GitHub Actions, I ran into this problem, too.

I think you do have to use the checkout action first, though. That solved my problem.

Like so:

steps:
      - uses: actions/checkout@v1

I verified that without it ls github/workspace is completely empty.

I think they might have just copied the part of the docs from the old version. Will send an email to support.

Ps.: can’t believe these forums don’t support GitHub markdown syntax :( 

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

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