File tree Expand file tree Collapse file tree 3 files changed +53
-0
lines changed Expand file tree Collapse file tree 3 files changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " Download Embulk"
2
+
3
+ inputs :
4
+ version :
5
+ description : " Version of Embulk to download"
6
+ type : string
7
+ required : true
8
+
9
+ runs :
10
+ using : " composite"
11
+ steps :
12
+ - id : url
13
+ name : Fix the download URL
14
+ env :
15
+ EMBULK_VERSION : ${{ inputs.version }}
16
+ run : echo "download_url=https://github.com/embulk/embulk/releases/download/v${EMBULK_VERSION}/embulk-${EMBULK_VERSION}.jar" >> $GITHUB_OUTPUT
17
+ - id : download
18
+ name : Download the Embulk executable binary
19
+ env :
20
+ EMBULK_URL : ${{ steps.url.outputs.download_url }}
21
+ run : echo ${EMBULK_URL}
Original file line number Diff line number Diff line change 5
5
schedule :
6
6
- cron : " 0 18 * * *" # 3am in Asia/Tokyo
7
7
jobs :
8
+ download :
9
+ uses : ./.github/workflows/install-embulk.yml
10
+ with :
11
+ version : " 0.11.4"
12
+
8
13
check :
9
14
runs-on : ubuntu-latest
10
15
# push: always run.
19
24
with :
20
25
java-version : 8
21
26
distribution : " temurin"
27
+ - uses : ./.github/actions/install-embulk
28
+ with :
29
+ version : " 0.11.4"
Original file line number Diff line number Diff line change
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 : ${{ github.event.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}
You can’t perform that action at this time.
0 commit comments