From 8079474552a918cd2e40fec63155fd6537f877a0 Mon Sep 17 00:00:00 2001 From: Mary Date: Thu, 23 Dec 2021 23:53:45 +0100 Subject: [PATCH] Make it possible to control revision at workflow dispatch --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c96e510..9b57b84 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,11 @@ name: build-native on: workflow_dispatch: - inputs: {} + inputs: + rev: + description: 'libsdl-org/SDL commit to build' + required: false + default: 'master' # schedule: # - cron: '0 0 * * *' env: @@ -69,6 +73,7 @@ jobs: - uses: actions/checkout@v2 with: repository: libsdl-org/SDL + ref: ${{ github.event.inputs.rev }} - uses: actions/checkout@v2 with: path: 'SDL2-CS'