Skip to content

Commit

Permalink
ci: escape quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
sixcolors committed May 28, 2024
1 parent 9d574ad commit a2d6a50
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ jobs:
run: |
docker exec oracle bash -c "
sqlplus sys/Test123@localhost:1521/FREE as sysdba <<EOF
alter session set "_ORACLE_SCRIPT"=true;
CREATE USER test IDENTIFIED BY Test123;
GRANT CONNECT, RESOURCE TO test;
ALTER USER test QUOTA UNLIMITED ON USERS;
CREATE TABLE test.test_table (id NUMBER, name VARCHAR2(50));
INSERT INTO test.test_table VALUES (1, 'John Doe');
INSERT INTO test.test_table VALUES (2, 'Jane Doe');
GRANT SELECT ON test.test_table TO test;
alter session set \"_ORACLE_SCRIPT\"=true;
CREATE USER c##test IDENTIFIED BY Test123;
GRANT CONNECT, RESOURCE TO c##test;
ALTER USER c##test QUOTA UNLIMITED ON USERS;
CREATE TABLE c##test.test_table (id NUMBER, name VARCHAR2(50));
INSERT INTO c##test.test_table VALUES (1, 'John Doe');
INSERT INTO c##test.test_table VALUES (2, 'Jane Doe');
GRANT SELECT ON c##test.test_table TO c##test;
exit;
EOF
"
Expand Down

0 comments on commit a2d6a50

Please sign in to comment.