Skip to content

Commit 0a89599

Browse files
committed
Update workflow
1 parent 24ae0aa commit 0a89599

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/make.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ on:
2626
inputs:
2727
command:
2828
description: Command to run.
29+
required: true
2930
env:
3031
description: Environment variables to set.
32+
required: false
3133

3234
# Workflow jobs:
3335
jobs:
@@ -70,12 +72,10 @@ jobs:
7072
run: |
7173
make install
7274
make init
73-
timeout-minutes: 5
75+
timeout-minutes: 15
7476

7577
# Run the make command:
7678
- name: 'Run make command'
7779
run: |
78-
make ${{ github.event.inputs.command }}
79-
env:
80-
${{ github.event.inputs.env }}
80+
${{ github.event.inputs.env }} make ${{ github.event.inputs.command }}
8181
timeout-minutes: 5

0 commit comments

Comments
 (0)