Skip to content

Commit

Permalink
Fix release routine maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
dixyes committed Nov 26, 2024
1 parent bc8025d commit b060051
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
jobs:
builddlls:
# this name is used after, change it with cautious
name: Build dll for PHP-${{ matrix.php-version }}-${{ matrix.arch }}-${{ (matrix.ts == '0') && 'N' || '' }}TS-VS16
name: Build dll for PHP-${{ matrix.php-version }}-${{ matrix.arch }}-${{ (matrix.ts == '0') && 'N' || '' }}TS-${{ (matrix.image == 'windows-2019') && 'VS16' || 'VS17' }}
runs-on: ${{ matrix.image }}
strategy:
fail-fast: false
Expand All @@ -42,7 +42,7 @@ jobs:
env:
deps: openssl,libcurl,libssh2,zlib,nghttp2,libpq
tools_path: C:\tools\phpdev
dllname: "php_swow-php${{ matrix.php-version }}-${{ matrix.arch }}-${{ (matrix.ts == '0') && 'n' || '' }}ts-VS16"
dllname: "php_swow-php${{ matrix.php-version }}-${{ matrix.arch }}-${{ (matrix.ts == '0') && 'n' || '' }}ts-${{ (matrix.image == 'windows-2019') && 'VS16' || 'VS17' }}"
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
"hash" = (Get-FileHash -Algorithm SHA256 $fn).Hash;
"result" = "${{ steps.ext-test.outcome }}";
"runid" = "${{ github.run_id }}";
"jobname" = "PHP-${{ matrix.php-version }}-${{ matrix.arch }}-${{ (matrix.ts == '0') && 'N' || '' }}TS-VS16";
"jobname" = "PHP-${{ matrix.php-version }}-${{ matrix.arch }}-${{ (matrix.ts == '0') && 'N' || '' }}TS-${{ (matrix.image == 'windows-2019') && 'VS16' || 'VS17' }}";
} | ConvertTo-Json -Compress | Out-File "${fn}.json" -Encoding ASCII # for no BOM
- name: Upload artifact
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -278,16 +278,16 @@ jobs:
matrix:
php-version: ["8.3", "8.2", "8.1", "8.0"]
arch: ["x64"]
ts: ["0", "1"]
ts: ["nts", "ts"]
image: [ "windows-2019" ]
include:
- php-version: "8.4"
arch: "x64"
ts: "0"
ts: "nts"
image: "windows-2022"
- php-version: "8.4"
arch: "x64"
ts: "1"
ts: "ts"
image: "windows-2022"
max-parallel: 8
steps:
Expand Down

0 comments on commit b060051

Please sign in to comment.