Skip to content

(iOS) Action failure due to location #25943

Answered by BrightRan
arashnrim asked this question in Actions
Discussion options

You must be logged in to vote

@arashnrim,

In a workflow, if some steps need to read or update the source files in the repository, the runner won’t automatically check out the source files or directly access the files from the remote GitHub repository.

Before the steps which need to access the source files, you should setup a step to check out the source files into the workspace (github.workspace) on the runner machine. You can use the Checkout action to do this.

- name: Checkout
  uses: actions/checkout@v2
  with:
    . . .

I checked the workflow file you used, but did not find any step was used to check out the source files (see here). No source files were checked out into the workspace, so the message “No such file…

Replies: 2 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants