Compile and install the binary:
go install github.com/drone/plugin
Execute a Harness plugin:
export PLUGIN_URLS=https://webhook.site/05a1f5dc-ee5e-4c3f-86af-de39feee929aexport DRONE_REPO_OWNER=octocatexport DRONE_REPO_NAME=hello-worldexport DRONE_COMMIT_SHA=7fd1a60b01f91b314f59955a4e4d4e80d8edf11dexport DRONE_COMMIT_BRANCH=masterexport DRONE_COMMIT_AUTHOR=octocatexport DRONE_BUILD_NUMBER=1export DRONE_BUILD_STATUS=successexport DRONE_BUILD_LINK=http://github.com/octocat/hello-worldexport DRONE_TAG=1.0.0plugin -repo https://github.com/drone-plugins/drone-webhook.git
Execute a Harness plugin by alias:
Execute a Bitrise plugin:
plugin -repo https://github.com/bradrydzewski/test-step.git -ref main
Execute below github action:
steps:- name: action type: action spec: uses: actions/hello-world-javascript-action@v1.1 with: who-to-greet: Mona the Octocat env: hello: world
Run on linux
export PLUGIN_WITH="{\"who-to-greet\":\"Mona the Octocat\" }"export hello=worldplugin -kind action -name actions/hello-world-javascript-action@v1.1Run on windows
$env:PLUGIN_WITH='{ "distribution": "temurin", "java-version": "17" }'$env:DRONE_ENV='C:\Users\Administrator\drone.env'plugin-kind action-name actions/setup-java@v3