Skip to content

Commit e7595f1

Browse files
committed
wip: windows
1 parent a5a1832 commit e7595f1

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/windows.yaml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
name: Windows
22

33
on:
4-
# push:
4+
push:
55
release:
66
types: [published]
77

88
env:
99
PHP_EXT: snappy
10-
PHP_EXT_VERSION: ${{ github.event.release.tag_name }}
10+
# PHP_EXT_VERSION: ${{ github.event.release.tag_name }}
11+
PHP_EXT_VERSION: 0.2.3
1112
BIN_SDK_VER: 2.3.0
1213

1314
jobs:
@@ -16,9 +17,9 @@ jobs:
1617
matrix:
1718
php:
1819
- '8.4'
19-
# - '8.3'
20-
# - '8.2'
21-
# - '8.1'
20+
- '8.3'
21+
- '8.2'
22+
- '8.1'
2223
arch:
2324
- x64
2425
- x86
@@ -87,7 +88,8 @@ jobs:
8788
REPORT_EXIT_STATUS: 1
8889
NO_INTERACTION: 1
8990

90-
- if: ${{ github.event_name == 'release' && matrix.library == '' }}
91+
# - if: ${{ github.event_name == 'release' && matrix.library == '' }}
92+
- if: ${{ matrix.library == '' }}
9193
name: Archive DLL
9294
run: |-
9395
Copy-Item .\php_${{ env.PHP_EXT }}.dll .\$env:EXT_NAME.dll
@@ -96,7 +98,8 @@ jobs:
9698
env:
9799
EXT_NAME: php_${{ env.PHP_EXT }}-${{ env.PHP_EXT_VERSION }}-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.vs }}-${{ matrix.arch == 'x64' && 'x86_64' || matrix.arch }}
98100

99-
- if: ${{ github.event_name == 'release' && matrix.library == '' }}
101+
# - if: ${{ github.event_name == 'release' && matrix.library == '' }}
102+
- if: ${{ matrix.library == '' }}
100103
name: Store archive DLL
101104
uses: actions/upload-artifact@v4
102105
with:
@@ -111,7 +114,7 @@ jobs:
111114

112115
runs-on: ubuntu-latest
113116

114-
if: ${{ github.event_name == 'release' }}
117+
# if: ${{ github.event_name == 'release' }}
115118

116119
steps:
117120
- name: Checkout

0 commit comments

Comments
 (0)