Skip to content

Commit fb290f1

Browse files
committed
Update GH action
1 parent cf9b138 commit fb290f1

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

action.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: MySQL to SQLite3 Converter
22
description: Connect to mysql and convert to sqlite3 file
3+
34

45
inputs:
56
output:
@@ -18,10 +19,22 @@ inputs:
1819
description: mysql password
1920
required: true
2021

22+
outputs:
23+
file:
24+
description: The file that is generated
25+
2126
runs:
2227
using: docker
2328
image: Dockerfile
29+
args:
30+
- ${{ inputs.host }}
31+
- ${{ inputs.database }}
32+
- ${{ inputs.username }}
33+
- ${{ inputs.password }}
34+
- ${{ inputs.output }}
35+
post-entrypoint: gh-output.sh
2436

2537
branding:
26-
icon: "mic"
38+
icon: "filter"
2739
color: "blue"
40+

gh-output.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
echo "::file::/path/to/dir"

0 commit comments

Comments
 (0)