You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Setup COBOL
v1.3.0
This action sets up a GnuCOBOL programming language.
Supported OS: Linux Ubuntu.
Name | Required | Description | Default | Possible values |
---|---|---|---|---|
version | No | GnuCOBOL version. | 3.1.2 |
3.0-rc1 , 3.1-rc1 , 3.1.1 , 3.1.2 |
name: Setup COBOL
on: push
jobs:
setup:
name: Setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: fabasoad/setup-cobol-action@main
- name: Run script
run: |
cobc -x HelloWorld.cob
./HelloWorld
Run cobc -x HelloWorld.cob
Hello World!