Awesome
<!-- markdownlint-disable-file MD013 -->
Run Pascal script action
![linting](https://github.com/fabasoad/pascal-action/actions/workflows/linting.yml/badge.svg)
This action runs Pascal script.
Inputs
<!-- prettier-ignore-start -->
Name | Required | Description | Possible values |
---|
path | Yes | Path to the script file | <Path> |
<!-- prettier-ignore-end -->
Outputs
<!-- prettier-ignore-start -->
Name | Required | Description |
---|
result | Yes | Result of script running. |
<!-- prettier-ignore-end -->
Example usage
Workflow configuration
name: Pascal
on: push
jobs:
pascal:
name: Run Pascal script
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: fabasoad/pascal-action@main
id: pascal
with:
path: "./HelloWorld.pas"
- name: Print result
run: echo "${{ steps.pascal.outputs.result }}"
Result
Run echo "Hello World!"
Hello World!