diff options
| author | Opportunity <[email protected]> | 2020-06-30 10:45:06 +0800 |
|---|---|---|
| committer | Opportunity <[email protected]> | 2020-06-30 10:45:06 +0800 |
| commit | f03a57c21313e1f155294c8bad56cc933c71065f (patch) | |
| tree | bf10097a4ea9d32fb2aa2b0b57bc8a2abbb6a7ab | |
| parent | 7371c1e7a0300e0a3dd3288c787276caca55f6a2 (diff) | |
fix
| -rw-r--r-- | .github/workflows/windows.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index d5e813abf..a8618f7b5 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -46,7 +46,7 @@ jobs: # build - name: build run: | - xmake f -vD -P core -a ${{ martix.arch }} + xmake f -vD -P core -a ${{ matrix.arch }} xmake -vD -P core # tests @@ -72,7 +72,7 @@ jobs: Copy-Item ./curl.exe ./xmake/winenv/bin Copy-Item ./curl-ca-bundle.crt ./xmake/winenv/bin $version = (Get-Command xmake/xmake.exe).FileVersionInfo - ./nsis/makensis.exe /DMAJOR=$($version.ProductMajorPart) /DMINOR=$($version.ProductMinorPart) /DALTER=$($version.ProductBuildPart) /DBUILD=$($($version.ProductVersion -split '\+')[1]) /D${{ martix.arch }} .\scripts\installer.nsi + ./nsis/makensis.exe /DMAJOR=$($version.ProductMajorPart) /DMINOR=$($version.ProductMinorPart) /DALTER=$($version.ProductBuildPart) /DBUILD=$($($version.ProductVersion -split '\+')[1]) /D${{ matrix.arch }} .\scripts\installer.nsi # archive Copy-Item ./*.md ./xmake Add-Type -AssemblyName System.Text.Encoding @@ -92,7 +92,7 @@ jobs: # upload artifacts - name: set release arch name run: | - if ("${{ martix.arch }}" -eq "x64"){ + if ("${{ matrix.arch }}" -eq "x64"){ echo "::set-env name=RELEASE_NAME::win64" } else { echo "::set-env name=RELEASE_NAME::win32" |
