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 3b89e71
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/actions/install-embulk/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Download Embulk"

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

runs:
using: "composite"
steps:
- name: checkout
uses: actions/checkout@v4

- id: download
name: Download Embulk ${{ inputs.version }}
env:
EMBULK_VERSION: ${{ inputs.version }}
EMBULK_URL: "https://github.com/embulk/embulk/releases/download/v${{ inputs.version }}/embulk-${{ inputs.version }}.jar"
run: echo ${EMBULK_URL}
shell: bash
5 changes: 4 additions & 1 deletion .github/workflows/input-postgresql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
schedule:
- cron: "0 18 * * *" # 3am in Asia/Tokyo
jobs:
check:
input-with-postgresql:
runs-on: ubuntu-latest
# push: always run.
# pull_request: run only when the PR is submitted from a forked repository, not within this repository.
Expand All @@ -19,3 +19,6 @@ jobs:
with:
java-version: 8
distribution: "temurin"
- uses: ./.github/actions/install-embulk
with:
version: "0.11.4"

0 comments on commit 3b89e71

Please sign in to comment.