We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f862bb commit 06b95f8Copy full SHA for 06b95f8
.github/actions/shell/action.yml
@@ -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
22
0 commit comments