Skip to content
terminal

GitHub Action

Run Pascal script

v1.1.3 Latest version

Run Pascal script

terminal

Run Pascal script

This action runs Pascal script

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Run Pascal script

uses: fabasoad/[email protected]

Learn more about this action in fabasoad/pascal-action

Choose a version

Run Pascal script action

Stand With Ukraine GitHub release functional-tests-local functional-tests-remote security linting

This action runs Pascal script.

Inputs

Name Required Description Possible values
path Yes Path to the script file <Path>

Outputs

Name Required Description
result Yes Result of script running.

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!