Categorygithub.com/bitrise-steplib/steps-script-runner
modulepackage
0.0.0-20240207134734-0f349f3f7721
Repository: https://github.com/bitrise-steplib/steps-script-runner.git
Documentation: pkg.go.dev

# README

Script Runner

Step changelog

Run scripts from file

Description

Run scripts from file

🧩 Get started

Add this step directly to your workflow in the Bitrise Workflow Editor.

You can also run this step directly with Bitrise CLI.

⚙️ Configuration

Inputs
KeyDescriptionFlagsDefault
file_pathThe script you want to run.required
runnerThe executor to be used for running the script. You can use any binary which is in the PATH (bash/ruby/etc.), multipart commands (e. g. go run), absolute paths (e. g. /bin/sh) or binaries from env (e. g. /usr/bin/env python). You can specify flags as well (e. g. /bin/bash -l).requiredbash
working_dirThis directory will be set as the current working directory for the script. Any relative path in the Script (file_path) will be relative to this directory.$BITRISE_SOURCE_DIR
is_debugIf debug=yes the step will print debug infos about the working dir, tmp file path, exit code, etc.no
Outputs There are no outputs defined in this step

🙋 Contributing

We welcome pull requests and issues against this repository.

For pull requests, work on your changes in a forked repository and use the Bitrise CLI to run step tests locally.

Learn more about developing steps: