Thanks to visit codestin.com
Credit goes to github.com

Skip to content

This action runs Pascal file and saves output.

License

Notifications You must be signed in to change notification settings

fabasoad/pascal-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Run Pascal script action

Stand With Ukraine GitHub release functional-tests security linting

This action runs Pascal script.

Prerequisites

None.

Inputs

- uses: fabasoad/pascal-action@v1
  with:
    # (Required) Path to the script file.
    path: ./HelloWorld.pas

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!