Skip to content

Replace external action.yml with own custom file. #41404

Closed Answered by airtower-luna
networkinss asked this question in Actions
Discussion options

You must be logged in to vote

See the Syntax documentation: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsuses

If you want to reference a local action (within the repository) uses: ./path/ is correct, where ./path/ is the path of the directory that holds the action. Mind that you need to checkout the repository first.

For an action in another repository, the @v0.9.0 means "use the action at tag or branch v0.9.0 of the repository". For a local action the action is used as in the checked out code, so you don't use this part.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by networkinss
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
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question inactive This discussion has been automatically marked as inactive. This was formerly labeled stale.
2 participants