Skip to content

Self-hosted runners action-runner folder #25972

Answered by Yanjingzhu
jeremylaux asked this question in Actions
Discussion options

You must be logged in to vote

The default working directory of your workflow when using your self-hosted runner is C:\actions-runner\_work\your-repo-name\your-repo-name . If you are using run scripts step, using the working-directory keyword, you can specify the working directory of where to run the command.

- name: Clean install dependencies and build
  run: |
    npm ci
    npm run build
    working-directory: C:\inetpub\app

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@Satishkaramana
Comment options

@OctopBP
Comment options

Answer selected
Comment options

You must be logged in to vote
0 replies
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
4 participants