Skip to content

Commit 8d0bc87

Browse files
committed
Replace variables to local repos
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
1 parent 99ffc60 commit 8d0bc87

File tree

2 files changed

+17
-20
lines changed

2 files changed

+17
-20
lines changed

.github/workflows/odbc.yml

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -12,43 +12,40 @@ jobs:
1212
run: |
1313
mkdir ../../github
1414
15-
- name: Clone
15+
- name: Clone vcpkg
1616
run: |
1717
cd ../../github
1818
git clone https://github.com/microsoft/vcpkg.git
19-
pwd
2019
21-
# - name: Clone vcpkg
22-
# uses: actions/checkout@v4
23-
# with:
24-
# repository: microsoft/vcpkg
25-
2620
- name: Set up vcpkg
2721
run: |
2822
cd ../../github
29-
pwd
3023
./vcpkg/bootstrap-vcpkg.bat
3124
cd vcpkg
32-
pwd
3325
pwd >> $VCPKG_ROOT
34-
echo $VCPKG_ROOT
3526
3627
- name: Clone arrow
37-
uses: actions/checkout@v4
38-
with:
39-
repository: arrow/arrow
28+
run: |
29+
cd ../../github
30+
git clone https://github.com/apache/arrow.git
4031
41-
- name: Clone flight
42-
uses: actions/checkout@v4
43-
with:
44-
repository: dbt-labs/flightsql-odbc
32+
- name: Clone flight odbc
33+
run: |
34+
cd ../../github
35+
git clone https://github.com/dbt-labs/flightsql-odbc.git
4536
4637
- name: Install CMake
4738
uses: ssrobins/install-cmake@v1
4839

4940
- uses: actions/checkout@v4
5041

51-
- name: Show directory tree
42+
- name: Change repo path to local repos
5243
run: |
53-
echo $VCPKG_ROOT
54-
tree
44+
(Get-Content .\build_win64.bat).Replace('ARROW_GIT_REPOSITORY="https://github.com/apache/arrow"', 'ARROW_GIT_REPOSITORY="D:/a/github/arrow"') | Set-Content .\build_win64.bat
45+
(Get-Content .\build_win64.bat).Replace('ODBCABSTRACTION_REPO="../flightsql-odbc"', 'ODBCABSTRACTION_REPO="D:/a/github/flightsql-odbc"') | Set-Content .\build_win64.bat
46+
47+
- name: Upload bat file
48+
uses: actions/upload-artifact@v2
49+
with:
50+
name: build_win64.bat
51+
path: '.\build_win64.bat'

build_win64.bat

72.1 MB
Binary file not shown.

0 commit comments

Comments
 (0)