Does anyone know what this does ?
uses: ./
I see it used in quite a few places but cannot seem to find any reference for it.
>Solution :
The uses
keyword of github actions is used to specify the action that should be executed as part of a workflow. The ./
value tells GitHub to use the action defined in the current repository, rather than referencing a pre-built action.
It’s also possible to specify the path to the action within the repository, rather than using ./
. For example:
steps:
- uses: ./path
with:
parameter1: value1
parameter2: value2
This would execute the action located at ./path within the repository.