Skip to content

Commit

Permalink
ci: fix master build cache
Browse files Browse the repository at this point in the history
Environment variables are not allowed[1] in the step context
configuration.

1. https://github.com/orgs/community/discussions/35739
  • Loading branch information
oleg-jukovec committed Nov 2, 2023
1 parent 91ca802 commit c3cc282
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ jobs:
curl -L https://tarantool.io/release/2/installer.sh | sudo bash
sudo apt install -y tt
- name: Setup tt environment
run: tt init

- name: Setup Tarantool ${{ matrix.tarantool }}
if: matrix.tarantool != 'master'
uses: tarantool/setup-tarantool@v2
Expand All @@ -73,13 +76,14 @@ jobs:
id: cache-latest
uses: actions/cache@v3
with:
path: "${GITHUB_WORKSPACE}/bin"
path: |
${{ github.workspace }}/bin
${{ github.workspace }}/include
key: cache-latest-${{ env.LATEST_COMMIT }}

- name: Setup Tarantool master
if: matrix.tarantool == 'master' && steps.cache-latest.outputs.cache-hit != 'true'
run: |
tt init
sudo tt install tarantool master
- name: Add Tarantool master to PATH
Expand Down

0 comments on commit c3cc282

Please sign in to comment.