Skip to content

Commit 4871044

Browse files
committed
ci: fix Tarantool master installation
The semantics of the `tt install` command have been updated [1]. A default installation path have been updated too. 1. tarantool/tt@5bec7c1
1 parent 7d42609 commit 4871044

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/testing.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,20 +73,18 @@ jobs:
7373
id: cache-latest
7474
uses: actions/cache@v3
7575
with:
76-
path: "/opt/tarantool"
76+
path: "${GITHUB_WORKSPACE}/bin"
7777
key: cache-latest-${{ env.LATEST_COMMIT }}
7878

7979
- name: Setup Tarantool 2.x latest
8080
if: matrix.tarantool == '2.x-latest' && steps.cache-latest.outputs.cache-hit != 'true'
8181
run: |
82-
# mkdir could be removed after:
83-
# https://github.com/tarantool/tt/issues/282
84-
sudo mkdir -p /opt/tarantool
85-
sudo tt install tarantool=master
82+
tt init
83+
sudo tt install tarantool master
8684
8785
- name: Add Tarantool 2.x latest to PATH
8886
if: matrix.tarantool == '2.x-latest'
89-
run: echo "/opt/tarantool/bin" >> $GITHUB_PATH
87+
run: echo "${GITHUB_WORKSPACE}/bin" >> $GITHUB_PATH
9088

9189
- name: Setup golang for the connector and tests
9290
uses: actions/setup-go@v3

0 commit comments

Comments
 (0)