Skip to content

hasithaa/setup-ballerina

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notice

Please note that this repository is no longer active. The code has been moved to ballerina-platform/setup-ballerina, which is now the official Ballerina repository for the setup-ballerina GitHub Action. Please update any references or links to the new repository location to ensure you are using the latest version of the action. Thank you for your cooperation in keeping up-to-date with the Ballerina community's latest developments.


Test Ubuntu Test Windows Test Action GitHub license GitHub issues

Setup Ballerina

This Github action installs Ballerina's build system and package manager command; the bal command.

Inputs

Input Description Required
version Ballerina SwanLake Version yes

Usage

Note: This action is supported on all operating systems (ubuntu, macos, windows)

Ubuntu

    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: hasithaa/setup-ballerina@v1
        name: Install Ballerina
        with:
          version: 2201.1.1
      - run: bal version
      - run: bal run hello.bal

Test Ubuntu Source

MacOs

    runs-on: macos-latest
    steps:
      - uses: actions/checkout@v2
      - uses: hasithaa/setup-ballerina@v1
        name: Install Ballerina
        with:
          version: 2201.1.1
      - run: bal version
      - run: bal run hello.bal

Test Action Source

Windows

    runs-on: windows-latest
    steps:
      - uses: actions/checkout@v2
      - uses: hasithaa/setup-ballerina@v1
        name: Install Ballerina
        with:
          version: 2201.1.1
      - run: bal version
      - run: bal run hello.bal

Test Windows Source

License

The scripts and documentation in this project are released under the Apache License.