Skip to content

Commit

Permalink
Try installing Embulk
Browse files Browse the repository at this point in the history
  • Loading branch information
dmikurube committed Jul 4, 2024
1 parent 7ea4819 commit 49dcc79
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/input-postgresql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ jobs:
with:
java-version: 8
distribution: "temurin"
- name: Download Embulk
uses: ./.github/workflows/install-embulk.yml
with:
version: "0.11.4"
24 changes: 24 additions & 0 deletions .github/workflows/install-embulk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Download Embulk

on:
workflow_dispatch:
inputs:
version:
description: "Version of Embulk to download"
type: string
required: true

jobs:
download-embulk:
runs-on: ubuntu-latest
steps:
- id: url
name: Fix the download URL
env:
EMBULK_VERSION: ${{ github.event.inputs.version }}
run: echo "download_url=https://github.com/embulk/embulk/releases/download/v${EMBULK_VERSION}/embulk-${EMBULK_VERSION}.jar" >> $GITHUB_OUTPUT
- id: download
name: Download the Embulk executable binary
env:
EMBULK_URL: ${{ steps.url.outputs.download_url }}
run: echo ${EMBULK_URL}

0 comments on commit 49dcc79

Please sign in to comment.