Skip to content

Commit 06b95f8

Browse files
Added missing shell step for github workflows.
1 parent 5f862bb commit 06b95f8

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/actions/shell/action.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: "Run Shell Commands"
2+
description: "Runs a list of commands on the native OS shell"
3+
4+
inputs:
5+
commands:
6+
description: 'Multiline string of commands to run'
7+
required: true
8+
9+
runs:
10+
using: "composite"
11+
steps:
12+
- name: CMD
13+
if: runner.os == 'Windows'
14+
shell: cmd
15+
run: |
16+
${{ inputs.commands }}
17+
18+
- name: Bash
19+
if: runner.os != 'Windows'
20+
shell: bash
21+
run: |
22+
${{ inputs.commands }}

0 commit comments

Comments
 (0)