We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dce24c0 commit 359ee5aCopy full SHA for 359ee5a
.github/workflows/manual.yml
@@ -0,0 +1,32 @@
1
+name: Manual Trigger with Params
2
+
3
+on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ name:
7
+ description: 'Name of the person to greet'
8
+ required: true
9
+ type: string
10
+ greeting:
11
+ description: 'Type of greeting'
12
13
14
+ data:
15
+ description: 'Base64 encoded content of a file'
16
+ required: false
17
18
19
+jobs:
20
+ greet:
21
+ runs-on: ubuntu-latest
22
+ steps:
23
+ - name: Decode File Content
24
+ run: |
25
+ echo "${{ inputs.data }}" | base64 --decode > ./decoded_file.txt
26
+ - name: Display Greeting
27
28
+ echo "${{ inputs.greeting }}, ${{ inputs.name }}!"
29
+ - name: Display File Content
30
31
+ echo "Contents of the file:"
32
+ cat ./decoded_file.txt
0 commit comments