From 8ef0d33d2d013a9ba9c21b3bf0852d157606947e Mon Sep 17 00:00:00 2001 From: Alexander Koz Date: Tue, 12 Sep 2023 19:01:31 +0400 Subject: [PATCH] CI: probably fix pre-build update workflow for sdk version --- .github/workflows/update.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 576d85db..0fc56764 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -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] @@ -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/rust-cache@v2.6.2