Skip to content

Commit 5c15dd0

Browse files
committed
set umask and also add tmate
1 parent 524bd14 commit 5c15dd0

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/cli.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,8 @@ jobs:
6363
./ci/${{ matrix.job_name }}_runner.sh do_install
6464
6565
- name: Linux Script
66-
run: sudo ./ci/${{ matrix.job_name }}_runner.sh script
66+
run: |
67+
sudo sh -c 'umask 022 && ./ci/${{ matrix.job_name }}_runner.sh script'
68+
69+
- name: Setup tmate session
70+
uses: mxschmitt/action-tmate@v3

t/cli/test_access_log.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ sleep 4
207207
tail -n 2 logs/access.log > output.log
208208

209209
# APISIX
210-
if ! grep '"https://127.0.0.1:9180" -' output.log; then
210+
if ! grep '"http://127.0.0.1:9180" -' output.log; then
211211
echo "failed: should find upstream scheme"
212212
cat output.log
213213
exit 1

0 commit comments

Comments
 (0)