WSO2 API Controller (apictl) is a command-line tool providing the capability to move APIs, API Products, and Applications across environments and to perform CI/CD operations. Furthermore, it can perform WSO2 Micro Integrator (WSO2 MI) server specific operations such as monitoring Synapse artifacts and performing MI management/administrative tasks from the command line.
This custom GH action will setup WSO2 APICTL in a Linux environment. Since there are no usecases for setting up on Windows environments, currently only Linux environments are supported.
Optional The version of the APICTL to setup. Default "4.1.0".
The version will be picked from the Github releases : https://github.com/wso2/product-apim-tooling/releases. Ex: 4.1.0, v4.1.0, 3.2.5 etc.
Optional A location to an APICTL Tarball if it needs to be downloaded from custom location. No Default
uses: yasassri/[email protected]
with:
version: '4.1.0'uses: yasassri/[email protected]
with:
tarball_location: 'https://github.com/wso2/product-apim-tooling/releases/download/v4.1.0/apictl-4.1.0-linux-x64.tar.gz'name: WSO2_APIM
on: [push, pull_request_target, issues]
jobs:
wso2:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: yasassri/[email protected]
with:
version: 'v3.2.5'
- run: apictl version