This action runs Pascal script.
Name | Required | Description | Possible values |
---|---|---|---|
path | Yes | Path to the script file | <Path> |
Name | Required | Description |
---|---|---|
result | Yes | Result of script running. |
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 }}"
Run echo "Hello World!"
Hello World!