Skip to content

Commit a130c64

Browse files
committed
Try installing Embulk
1 parent 7ea4819 commit a130c64

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Download Embulk
2+
3+
on:
4+
workflow_call:
5+
inputs:
6+
version:
7+
description: "Version of Embulk to download"
8+
type: string
9+
required: true
10+
workflow_dispatch:
11+
inputs:
12+
version:
13+
description: "Version of Embulk to download"
14+
type: string
15+
required: true
16+
17+
jobs:
18+
download-embulk:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- id: url
22+
name: Fix the download URL
23+
env:
24+
EMBULK_VERSION: ${{ inputs.version }}
25+
run: echo "download_url=https://github.com/embulk/embulk/releases/download/v${EMBULK_VERSION}/embulk-${EMBULK_VERSION}.jar" >> $GITHUB_OUTPUT
26+
- id: download
27+
name: Download the Embulk executable binary
28+
env:
29+
EMBULK_URL: ${{ steps.url.outputs.download_url }}
30+
run: echo ${EMBULK_URL}

.github/workflows/input-postgresql.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,7 @@ jobs:
1919
with:
2020
java-version: 8
2121
distribution: "temurin"
22+
- name: Download Embulk
23+
uses: ./.github/actions/install-embulk
24+
with:
25+
version: 0.11.4

0 commit comments

Comments
 (0)