Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1c3004a

Browse files
committed
Adding OJDBC Download
1 parent de73451 commit 1c3004a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ env:
3131
CACHE_DIR: $HOME/.cache
3232
# Database Env
3333
SQLCLI: "sqlplus"
34-
OJDBC_HOME: "${BUILD_DIR}/ojdbc"
34+
OJDBC_HOME: ${{github.workspace}}/ojdbc
35+
OJDBC_URL: "https://download.oracle.com/otn-pub/otn_software/jdbc/213"
3536
ORACLE_PWD: "oracle"
3637
DOCKHER_HUB_REPO: "utplsqlv3/oracledb"
3738
#utPLSQL released version directory
@@ -108,6 +109,9 @@ jobs:
108109
- name: Download latest utPLSQL release
109110
run: git clone --depth=1 --branch=main https://github.com/utPLSQL/utPLSQL.git $UTPLSQL_DIR
110111

112+
- name: Add OJDBC home
113+
run: mkdir -p ${OJDBC_HOME} && curl -Lk -o ${OJDBC_HOME}/ojdbc8.jar ${OJDBC_URL}/ojdbc8.jar && curl -Lk -o ${OJDBC_HOME}/orai18n.jar ${OJDBC_URL}/orai18n.jar
114+
111115
- name: Install utPLSQL-cli
112116
run: curl -Lk -o utPLSQL-cli.zip "https://github.com/utPLSQL/utPLSQL-cli/releases/download/v3.1.8/utPLSQL-cli.zip" && unzip utPLSQL-cli.zip && chmod -R u+x utPLSQL-cli
113117

0 commit comments

Comments
 (0)