Skip to content
Discussion options

You must be logged in to vote

Hi raquelhortab,

When use action in the same repository as workflow, we need to add actions/checkout before running your local action. And you don’t need to add @master behind your action path.

Please see my example:

name: use my action
on: push

jobs:
my_first_job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: My first step
uses: ./.github/actions/my-action

>> I fond it weird that the repository name got duplicated in the path (…/hello_world_github_actions/hello_world_github_actions/…).

For this question, the path is as expected. It is the default directory path .

Please refer to this document: https://help.github.com/en/actions/automati…

Replies: 23 comments 34 replies

Comment options

You must be logged in to vote
1 reply
@adehad
Comment options

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
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
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
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
Comment options

You must be logged in to vote
1 reply
@airtower-luna
Comment options

Comment options

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

@usualdesigner
Comment options

Comment options

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

@iimrx
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@gardo984
Comment options

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
20 replies
@jenseng
Comment options

@jsoref
Comment options

@jsoref
Comment options

@ericsciple
Comment options

@nyarly
Comment options

Comment options

You must be logged in to vote
1 reply
@ericsciple
Comment options

Comment options

You must be logged in to vote
6 replies
@jsoref
Comment options

@jenseng
Comment options

@ChristopherHX
Comment options

@jsoref
Comment options

@ChristopherHX
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet