Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
package

GitHub Action

Get Playdate SDK

0.3.6

Get Playdate SDK

package

Get Playdate SDK

Download & install Playdate SDK

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Get Playdate SDK

uses: pd-rs/get-playdate-sdk@0.3.6

Learn more about this action in pd-rs/get-playdate-sdk

Choose a version

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 is true.
  • custom-url - Custom URL to the SDK installer. Useful for beta versions. If set, version will be ignored.
  • gcc - true to install gcc-arm-none-eabi toolchain, false to don't. Default is true. (Linux & Windows only. On macOS, the sdk installer installs the toolchain itself.)

Usage Example

- name: Install Playdate SDK
  id: playdate
  uses: pd-rs/get-playdate-sdk@0.3
  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