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: 3 months ago
JSON representation
This action runs Pascal file and saves output.
- Host: GitHub
- URL: https://github.com/fabasoad/pascal-action
- Owner: fabasoad
- License: mit
- Created: 2020-03-20T13:14:55.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-08-03T08:52:30.000Z (5 months ago)
- Last Synced: 2024-10-15T17:23:35.439Z (3 months ago)
- Topics: github-action, github-actions, pascal, pascal-compiler
- Language: Pascal
- Homepage:
- Size: 71.3 KB
- Stars: 6
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-actions - Run Pascal Script
- fucking-awesome-actions - Run Pascal Script
- awesome-workflows - Run Pascal Script
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: Pascalon: 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!
```