Skip to content

Commit

Permalink
ci: fix Tarantool master installation
Browse files Browse the repository at this point in the history
The semantics of the `tt install` command have been updated [1]. A
default installation path have been updated too.

1. tarantool/tt@5bec7c1
  • Loading branch information
oleg-jukovec committed Apr 25, 2023
1 parent 7d42609 commit 4871044
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,18 @@ jobs:
id: cache-latest
uses: actions/cache@v3
with:
path: "/opt/tarantool"
path: "${GITHUB_WORKSPACE}/bin"
key: cache-latest-${{ env.LATEST_COMMIT }}

- name: Setup Tarantool 2.x latest
if: matrix.tarantool == '2.x-latest' && steps.cache-latest.outputs.cache-hit != 'true'
run: |
# mkdir could be removed after:
# https://github.com/tarantool/tt/issues/282
sudo mkdir -p /opt/tarantool
sudo tt install tarantool=master
tt init
sudo tt install tarantool master
- name: Add Tarantool 2.x latest to PATH
if: matrix.tarantool == '2.x-latest'
run: echo "/opt/tarantool/bin" >> $GITHUB_PATH
run: echo "${GITHUB_WORKSPACE}/bin" >> $GITHUB_PATH

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

0 comments on commit 4871044

Please sign in to comment.