This action sets up a GnuCOBOL programming language.
OS | |
---|---|
Windows | ❌ |
Linux | ✅ |
macOS | ❌ |
- uses: fabasoad/setup-cobol-action@v1
with:
# (Optional) GnuCOBOL version. Defaults to 3.2.
version: "3.2"
# (Optional) If "true" it installs cobc even if it is already installed on a
# runner. Otherwise, skips installation.
force: "false"
Name | Description | Example |
---|---|---|
installed | Whether cobc was installed or not | true |
name: Setup COBOL
on: push
jobs:
setup:
name: Setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: fabasoad/setup-cobol-action@v1
- name: Run script
run: |
cobc -x HelloWorld.cob
./HelloWorld
Run cobc -x HelloWorld.cob
Hello World!