Make it possible to control revision at workflow dispatch

This commit is contained in:
Mary 2021-12-23 23:53:45 +01:00
parent d271140842
commit 8079474552

View file

@ -1,7 +1,11 @@
name: build-native name: build-native
on: on:
workflow_dispatch: workflow_dispatch:
inputs: {} inputs:
rev:
description: 'libsdl-org/SDL commit to build'
required: false
default: 'master'
# schedule: # schedule:
# - cron: '0 0 * * *' # - cron: '0 0 * * *'
env: env:
@ -69,6 +73,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
repository: libsdl-org/SDL repository: libsdl-org/SDL
ref: ${{ github.event.inputs.rev }}
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
path: 'SDL2-CS' path: 'SDL2-CS'