Skip to content

Commit 330a20b

Browse files
committed
Try installing Embulk
1 parent 7ea4819 commit 330a20b

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.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/workflows/install-embulk
24+
with:
25+
version: 0.11.4

.github/workflows/install-embulk.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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+
11+
jobs:
12+
download-embulk:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- id: url
16+
name: Fix the download URL
17+
env:
18+
EMBULK_VERSION: ${{ inputs.version }}
19+
run: echo "download_url=https://github.com/embulk/embulk/releases/download/v${EMBULK_VERSION}/embulk-${EMBULK_VERSION}.jar" >> $GITHUB_OUTPUT
20+
- id: download
21+
name: Download the Embulk executable binary
22+
env:
23+
EMBULK_URL: ${{ steps.url.outputs.download_url }}
24+
run: echo ${EMBULK_URL}

0 commit comments

Comments
 (0)