This action installs brainfucky - one of the brainfuck interpreters.
OS | |
---|---|
Windows | ✅ |
Linux | ✅ |
macOS | ✅ |
None.
- uses: fabasoad/setup-brainfuck-action@v1
with:
# (Optional) brainfucky interpreter version. Defaults to the latest version.
version: "0.1.dev1"
# (Optional) If "false" skips installation if brainfucky is already installed.
# If "true" installs brainfucky in any case. Defaults to "false".
force: "false"
# (Optional) GitHub token that is used to send requests to GitHub API such
# as getting available python versions. Defaults to the token provided by
# GitHub Actions environment.
github-token: "${{ github.token }}"
Name | Description | Example |
---|---|---|
installed | Whether brainfucky was installed or not | true |
name: Test
on: push
jobs:
build:
name: Brainfuck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: fabasoad/setup-brainfuck-action@main
- name: Hello World
run: |
touch ./hello-world.bf
echo "++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.++" > ./hello-world.bf
echo "+.------.--------.>>+.>++." >> ./hello-world.bf
brainfucky --file ./hello-world.bf
rm ./hello-world.bf
executing file ./hello-world.bf
Hello World!