Skip to content

Commit aa7174d

Browse files
Use valid syntax
1 parent 587c221 commit aa7174d

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/testing.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,17 @@ jobs:
179179
curl -L https://tarantool.io/pre-release/2/installer.sh | sudo bash
180180
sudo apt install -y tarantool tarantool-dev
181181
TNT_PID=$(tarantool ./test/suites/lib/tarantool_python_ci.lua > tarantool.log 2>&1 & echo $!)
182-
echo "::save-state name=TNT_PID::$TNT_PID"
183-
post-if: process.env.STATE_TNT_PID != ''
184-
post: kill $STATE_TNT_PID
182+
echo "::set-env name=TNT_PID::$TNT_PID"
185183
186184
- name: Run tests
187185
env:
188186
REMOTE_TARANTOOL_HOST: localhost
189187
REMOTE_TARANTOOL_CONSOLE_PORT: 3302
190188
run: make test
189+
190+
- name: Stop test Tarantool
191+
if: ${{ always() }} && process.env.TNT_PID != ''
192+
shell: wsl-bash_Ubuntu-20.04 {0}
193+
run: kill $TNT_PID
194+
195+

0 commit comments

Comments
 (0)