Skip to content

Commit

Permalink
Merge pull request #33 from boozook/ci/fix-pre-gen-update-respect-sdk
Browse files Browse the repository at this point in the history
CI: probably fix pre-build update workflow for sdk version
  • Loading branch information
boozook authored Sep 12, 2023
2 parents 70359b5 + 8ef0d33 commit e75d5c7
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ name: Update
on:
workflow_dispatch:
inputs:
sdk:
description: "Version of Playdate SDK"
default: latest
required: true
source:
description: "Source ref used to build bindings. Uses `github.ref`` by default."
required: false
sha:
description: "Source SHA used to build bindings. Uses `github.sha`` by default."
required: false
sdk:
description: "Version of Playdate SDK"
default: latest
required: false

push:
branches: [main, master]
Expand Down Expand Up @@ -115,6 +115,11 @@ jobs:
with:
ref: api/sys/pre-build

- name: Inputs
run: |
echo "I: SDK version: ${{ github.event.inputs.source }}"
echo "M: SDK version: ${{ matrix.sdk }}"
- name: Cache
uses: Swatinem/[email protected]

Expand Down

0 comments on commit e75d5c7

Please sign in to comment.