Skip to content

Commit 45b72ff

Browse files
committed
Testing
1 parent 218996c commit 45b72ff

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed
Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
@echo off
22

33
if /i "%APPVEYOR%" equ "True" (
4-
set BRANCH=%APPVEYOR_REPO_BRANCH:~4,3%
4+
if /i "%APPVEYOR_REPO_BRANCH:~0,4%" equ "php-" (
5+
set BRANCH=%APPVEYOR_REPO_BRANCH:~4,3%
6+
) else (
7+
set BRANCH=master
8+
)
59
) else (
610
if "%GITHUB_BASE_REF%" equ "master" (
7-
set IS_MASTER = "True"
11+
set BRANCH=master
812
)
913
if "%GITHUB_HEAD_REF%" equ "master" (
10-
set IS_MASTER = "True"
14+
set BRANCH=master
1115
)
12-
if "%IS_MASTER%" equ "True" (
13-
set BRANCH = "master"
14-
) else (
16+
if "!BRANCH!" equ "" (
1517
for /f "usebackq tokens=3" %%i in (`findstr PHP_MAJOR_VERSION main\php_version.h`) do set BRANCH=%%i
1618
for /f "usebackq tokens=3" %%i in (`findstr PHP_MINOR_VERSION main\php_version.h`) do set BRANCH=%BRANCH%.%%i
1719
)
1820
)
21+
echo "BRANCH: !BRANCH!"

.github/workflows/push.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ env:
2525
CXX: ccache g++
2626
jobs:
2727
LINUX_X64:
28+
if: false
2829
strategy:
2930
fail-fast: false
3031
matrix:
@@ -79,6 +80,7 @@ jobs:
7980
- name: Verify generated files are up to date
8081
uses: ./.github/actions/verify-generated-files
8182
LINUX_X32:
83+
if: false
8284
name: LINUX_X32_DEBUG_ZTS
8385
runs-on: ubuntu-latest
8486
container:
@@ -125,6 +127,7 @@ jobs:
125127
-d opcache.enable_cli=1
126128
-d opcache.jit_buffer_size=16M
127129
MACOS_DEBUG_NTS:
130+
if: false
128131
runs-on: macos-11
129132
steps:
130133
- name: git checkout

0 commit comments

Comments
 (0)