We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdaa7a9 commit 922aecaCopy full SHA for 922aeca
1 file changed
.github/workflows/build.yml
@@ -19,6 +19,8 @@ on:
19
default: '2.3'
20
# Input has to be provided for the workflow to run
21
required: true
22
+env:
23
+ DEFAULT_MIN_DOC_VER: '2.3'
24
jobs:
25
build:
26
runs-on: ubuntu-latest
@@ -46,7 +48,9 @@ jobs:
46
48
ls -r tmp/wasm
47
49
git clone https://github.com/axmolengine/axmol.git tmp/axmol-src
50
git -C tmp/axmol-src checkout dev
- ./build.ps1 tmp/axmol-src tmp/wasm -min_doc_ver ${{ github.event.inputs.min_doc_ver }}
51
+ $min_doc_ver = '${{ github.event.inputs.min_doc_ver }}'
52
+ if (!$min_doc_ver) { $min_doc_ver = '${{ env.DEFAULT_MIN_DOC_VER }}'}
53
+ ./build.ps1 tmp/axmol-src tmp/wasm -min_doc_ver $min_doc_ver
54
55
# Deploy HTML site to GitHub Pages
56
- name: GH Pages Deployment
0 commit comments