This Github action installs Ballerina's build system and package manager command; the bal
command.
Input | Description | Required |
---|---|---|
version | Ballerina SwanLake Version | yes |
Note: This action is supported on all operating systems (ubuntu
, macos
, windows
)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ballerina-platform/setup-ballerina@v1
name: Install Ballerina
with:
version: 2201.3.2
- run: bal version
- run: bal run hello.bal
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: ballerina-platform/setup-ballerina@v1
name: Install Ballerina
with:
version: 2201.3.2
- run: bal version
- run: bal run hello.bal
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: ballerina-platform/setup-ballerina@v1
name: Install Ballerina
with:
version: 2201.3.2
- run: bal version
- run: bal run hello.bal
The scripts and documentation in this project are released under the Apache License.