Skip to content

joshtynjala/setup-apache-flex-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Github Action to setup the Apache Flex SDK

This action downloads the Apache Flex SDK, adds the bin folder to the PATH, and sets the FLEX_HOME environment variable. The setup process also integrates the Adobe AIR SDK by HARMAN.

Inputs

flex-version

(Required) The version of the Apache Flex SDK to set up. An exact version, such as 4.16.1, is recommended. However, a less specific version, like 4.16 is allowed.

air-version

(Required) The version of the Adobe AIR SDK to set up. An exact version, such as 50.0.1.1, is recommended. However, a less specific version, like 50.0 or 50, is allowed.

accept-air-license

(Required) Set to true if you accept the Adobe AIR SDK License Agreement. The action will fail if the agreement is not accepted.

air-license-base64

(Optional) Use with an encrypted secret to optionally provide a valid adt.lic file, encoded as a Base64 string, to unlock new, restricted features in the Adobe AIR SDK by HARMAN.

Warning! Never include the raw Base64-encoded string value directly in your Github Actions .yml file. You must use an encrypted secret to prevent your license file from being leaked publicly.

Example usage

Use the Apache Flex SDK with the AIR SDK by HARMAN for free activities:

uses: joshtynjala/setup-apache-flex-action@v2
with:
  flex-version: "4.16.1"
  air-version: "50.0.1.1"
  accept-air-license: true

Specify an encypted secret containing a Base64-encoded license file to unlock the AIR SDK's new, restricted features:

uses: joshtynjala/setup-apache-flex-action@v2
with:
  flex-version: "4.16.1"
  air-version: "50.0.1.1"
  accept-air-license: true
  air-license-base64: ${{ secrets.AIR_SDK_LICENSE_FILE }}