I want to implement my own Docker GitHub Action that should provide an executable called my-tool
which I can use in my workflows. Ideally, I want to be able to write the following config in my workflow:
- name: Setup My Tool
uses: actions/my-tool@v1
- name: Run My Tool
run: my-tool --option1 --option2 arg1 arg2
My custom action that provides my-tool
is responsible for creating the my-tool
executable (either by downloading it or building from sources). And I want my action to make this executable available within the rest of my workflow. However, I can't find any way to copy my executable from the docker container back to host that runs my action. How can I transfer my-tool
from the Docker GitHub Action to my workflow?