PowerShell
flightstack/powershell@1.0.0 Step Verified Run a PowerShell script as a pipeline step on a Windows agent.
Add it to a pipeline
jobs:
- id: powershell
uses: flightstack/powershell@1.0.0
inputs:
script: <string> Or drag it onto the canvas from the step palette in the visual editor. Pin an exact version for production pipelines.
Inputs
-
scriptstring required - PowerShell script body. Runs on Windows agents only; pair it with the os:windows agent tag. Inputs are available as $env:FS_IN_* and the job's variables as $env:FS_ENV_*.
-
workingDirectorystring default. - Project sub-directory to cd into before running the script.