get-playdate-sdk icon indicating copy to clipboard operation
get-playdate-sdk copied to clipboard

Derives Playdate SDK

Playdate Get Playdate SDK

This GitHub Action delivers specified Playdate SDK.

Also installs arm-gcc gnu toolchain.

Parameters

  • version - Specified version of the SDK. Optional. Default value is latest.
  • cache - Cache installer. Default by true.
  • custom-url - Custom URL to the SDK installer. Useful for beta versions. If set, version will be ignored.

Usage Example

- name: Install Playdate SDK
  id: playdate
  uses: pd-rs/[email protected]
  with:
    version: 2.4.2 # possible values: version `x.x.x` or `latest` by default

- name: usage
  run: |
    echo "SDK path env: $PLAYDATE_SDK_PATH"
    echo "SDK root out: ${{ steps.playdate.outputs.root }}"
    echo "SDK version: ${{ steps.playdate.outputs.version }}"
    pdc --version # because SDK/bin already in PATH

Supported platforms

  • macOS
  • Linux
  • Windows