Skip to content

Commit 926dcc0

Browse files
committed
wip: windows
1 parent 0da08c6 commit 926dcc0

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/windows.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ name: Windows
22

33
on:
44
push:
5-
release:
6-
types: [published]
5+
# release:
6+
# 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:
@@ -87,17 +88,17 @@ jobs:
8788
REPORT_EXIT_STATUS: 1
8889
NO_INTERACTION: 1
8990

90-
- if: ${{ github.event_name == 'release' }}
91-
name: Archive DLL
91+
# - if: ${{ github.event_name == 'release' }}
92+
- name: Archive DLL
9293
run: |-
9394
Copy-Item .\php_${{ env.PHP_EXT }}.dll .\$env:EXT_NAME.dll
9495
Compress-Archive -Path .\$env:EXT_NAME.dll -Destination .\$env:EXT_NAME.zip
9596
shell: pwsh
9697
env:
9798
EXT_NAME: php_${{ env.PHP_EXT }}-${{ env.PHP_EXT_VERSION }}-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.vs }}-${{ matrix.arch == 'x64' && 'x86_64' || matrix.arch }}
9899

99-
- if: ${{ github.event_name == 'release' }}
100-
name: Store archive DLL
100+
# - if: ${{ github.event_name == 'release' }}
101+
- name: Store archive DLL
101102
uses: actions/upload-artifact@v4
102103
with:
103104
name: ${{ env.PHP_EXT_VERSION }}-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.vs }}-${{ matrix.arch == 'x64' && 'x86_64' || matrix.arch }}
@@ -111,7 +112,7 @@ jobs:
111112

112113
runs-on: ubuntu-latest
113114

114-
if: ${{ github.event_name == 'release' }}
115+
# if: ${{ github.event_name == 'release' }}
115116

116117
steps:
117118
- name: Checkout

0 commit comments

Comments
 (0)