Skip to content

Commit f601046

Browse files
author
Jacek Gębal
committed
Update build process.
1 parent b415c63 commit f601046

9 files changed

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
#!/bin/bash
12
docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \
2-
sys/oracle@${DB_URL} as sysdba @scripts/sql/create_users.sql
3+
sys/oracle@${DB_URL} as sysdba @.github/scripts/sql/create_users.sql
34

45
docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \
5-
app/pass@${DB_URL} @scripts/sql/create_app_objects.sql
6+
app/pass@${DB_URL} @.github/scripts/sql/create_app_objects.sql
67

78
docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \
8-
code_owner/pass@${DB_URL} @scripts/sql/create_source_owner_objects.sql
9+
code_owner/pass@${DB_URL} @.github/scripts/sql/create_source_owner_objects.sql
910

1011
docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \
11-
tests_owner/pass@${DB_URL} @scripts/sql/create_tests_owner_objects.sql
12+
tests_owner/pass@${DB_URL} @.github/scripts/sql/create_tests_owner_objects.sql
File renamed without changes.
File renamed without changes.
File renamed without changes.

.github/workflows/api-snapshot-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
run: .github/scripts/1_install_utplsql.sh
5656

5757
- name: Install demo project
58-
run: .github/scripts/install_demo_project.sh
58+
run: .github/scripts/2_install_demo_project.sh
5959

6060
- name: Build and Test
6161
run: |

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ jobs:
3939
fetch-depth: 0
4040

4141
- name: Install utPLSQL
42-
run: sh ${{ github.workspace }}/scripts/1_install_utplsql.sh
42+
run: .github/scripts/1_install_utplsql.sh
4343

4444
- name: Install demo project
45-
run: sh ${{ github.workspace }}/scripts/2_install_demo_project.sh
45+
run: .github/scripts/2_install_demo_project.sh
4646

4747
- name: Set up JDK 17
4848
uses: actions/setup-java@v5

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
- uses: actions/checkout@v4
2727

2828
- name: Install utPLSQL
29-
run: sh ${{ github.workspace }}/scripts/1_install_utplsql.sh
29+
run: .github/scripts/1_install_utplsql.sh
3030

3131
- name: Install demo project
32-
run: sh ${{ github.workspace }}/scripts/2_install_demo_project.sh
32+
run: .github/scripts/2_install_demo_project.sh
3333

3434
- name: Set up JDK 17
3535
uses: actions/setup-java@v5

0 commit comments

Comments
 (0)