-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Get Playdate SDK | ||
# ![Playdate](https://help.play.date/images/toolbar-icon-playdate.svg) Get Playdate SDK | ||
|
||
This GitHub Action delivers specified [Playdate] SDK. | ||
This GitHub Action delivers specified [Playdate SDK][Playdate]. | ||
|
||
[Playdate]: https://play.date/dev/#cardSDK | ||
|
||
|
@@ -12,20 +12,29 @@ This GitHub Action delivers specified [Playdate] SDK. | |
|
||
## Usage Example | ||
|
||
Download the latest version of dove | ||
Install the latest version of Playdate SDK | ||
|
||
```yaml | ||
- name: Install Playdate SDK | ||
id: playdate | ||
uses: pd-rs/[email protected].4 | ||
uses: pd-rs/[email protected].6 | ||
with: | ||
# possible values: version x.x.x or "latest" | ||
version: latest | ||
version: 2.0.0 # possible values: version `x.x.x` or `latest` | ||
|
||
- name: usage | ||
run: | | ||
echo "SDK root: $PLAYDATE_SDK_PATH" | ||
echo "SDK root: ${{ steps.playdate.outputs.root }}" | ||
echo "SDK path env: $PLAYDATE_SDK_PATH" | ||
echo "SDK root out: ${{ steps.playdate.outputs.root }}" | ||
echo "SDK version: ${{ steps.playdate.outputs.version }}" | ||
pdc --version | ||
pdc --version # because SDK/bin already in PATH | ||
``` | ||
## Supported platforms | ||
- macOS | ||
- Linux | ||
- Windows | ||
Note: for Windows there's [winget][] is used as source for specified SDK version, and as just installer-helper for `latest` version | ||
|
||
[winget]: https://github.com/idleberg/winget-pkgs/tree/master/manifests/p/Panic/PlaydateSDK |