https://github.com/fabasoad/setup-piet-action
This GitHub action installs npiet interpreter.
https://github.com/fabasoad/setup-piet-action
github-action github-actions npiet piet
Last synced: 18 days ago
JSON representation
This GitHub action installs npiet interpreter.
- Host: GitHub
- URL: https://github.com/fabasoad/setup-piet-action
- Owner: fabasoad
- License: mit
- Created: 2022-11-26T14:47:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-09T22:03:36.000Z (21 days ago)
- Last Synced: 2025-06-12T20:03:45.101Z (18 days ago)
- Topics: github-action, github-actions, npiet, piet
- Language: Shell
- Homepage:
- Size: 49.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Setup Piet action
[](https://stand-with-ukraine.pp.ua)



This action installs one of the Piet Programming Language interpreters
called [npiet](http://www.bertnase.de/npiet).## Supported OS
| OS | |
|---------|--------------------|
| Windows | :white_check_mark: |
| Linux | :x: |
| macOS | :x: |## Prerequisites
The following tools have to be installed for successful work of this GitHub action:
[PowerShell](https://learn.microsoft.com/en-us/powershell).## Inputs
```yaml
- uses: fabasoad/setup-piet-action@v0
with:
# (Optional) npiet interpreter version. Defaults to "1.3" version.
version: "1.3"
# (Optional) If "false" skips installation if npiet is already installed.
# If "true" installs npiet in any case. Defaults to "false".
force: "false"
```## Outputs
| Name | Description | Example |
|-----------|-----------------------------------|---------|
| installed | Whether piet was installed or not | `true` |## Example usage
### Input
`npiet` should print "Hi" if to use this image as input:

### Workflow configuration
```yaml
name: Teston: push
jobs:
run-script:
name: Piet
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: fabasoad/setup-piet-action@v0
- name: Run script
run: npiet hi.png
shell: sh
```### Result
```text
Run npiet hi.png
Hi
```