Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 2.06 KB

README.md

File metadata and controls

48 lines (39 loc) · 2.06 KB

Setup Amplitude Audio SDK - GitHub Action

GitHub Super-Linter CI Check dist/ CodeQL Coverage

This GitHub Action helps you download and install Amplitude Audio SDK binaries in your pipelines. It is mainly helpful for plugins and projects that use Amplitude and need it at compile time in their GitHub Action based CI/CD workflows.

Usage

To include the action in a workflow, you can use the uses syntax with the @ symbol to reference a specific branch, tag, or commit hash.

steps:
  - name: Checkout
    id: checkout
    uses: actions/checkout@v4

  - name: Test Local Action
    id: setup-sdk
    uses: AmplitudeAudio/action-setup-sdk@v1
    with:
      platforms: | # The list of platforms you want to install
        x64-windows
        x64-linux
        x64-osx
      version: nightly # The SDK version to install
      install-dir: ./amplitude_audio # Where to install the SDK. Can be relative or absolute
      config: release # The SDK build configuration to install. Either release or debug
    env:
      # This is mandatory, as the action will make use of GitHub APIs to fetch and download the SDK
      # from the settings you provided.
      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

  - name: Print SDK Install Path
    id: output
    run: echo "${{ steps.setup-sdk.outputs.path }}" # The action outputs the install dir in a `path` field

License

Copyright © Sparky Studios. Licensed under the MIT License.