Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/fabasoad/pascal-action

This action runs Pascal file and saves output.
https://github.com/fabasoad/pascal-action

github-action github-actions pascal pascal-compiler

Last synced: 11 days ago
JSON representation

This action runs Pascal file and saves output.

Lists

README

        

# Run Pascal script action

[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)
![GitHub release](https://img.shields.io/github/v/release/fabasoad/pascal-action?include_prereleases)
![functional-tests-local](https://github.com/fabasoad/pascal-action/actions/workflows/functional-tests-local.yml/badge.svg)
![functional-tests-remote](https://github.com/fabasoad/pascal-action/actions/workflows/functional-tests-remote.yml/badge.svg)
![security](https://github.com/fabasoad/pascal-action/actions/workflows/security.yml/badge.svg)
![linting](https://github.com/fabasoad/pascal-action/actions/workflows/linting.yml/badge.svg)

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

```yaml
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

```shell
Run echo "Hello World!"
Hello World!
```