diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index e13339814c..e3f7d1fa4a 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: os: [windows-2019, windows-2022] - arch: [x64, x86] + arch: [x64, x86, arm64] runs-on: ${{ matrix.os }} @@ -50,6 +50,8 @@ jobs: run: | if ("${{ matrix.arch }}" -eq "x64") { Write-Output "RELEASE_NAME=win64" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf-8 -Append + } elseif ("${{ matrix.arch }}" -eq "arm64") { + Write-Output "RELEASE_NAME=winarm64" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf-8 -Append } else { Write-Output "RELEASE_NAME=win32" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf-8 -Append } @@ -204,4 +206,3 @@ jobs: asset_path: artifacts/${{env.RELEASE_NAME}}/xmake.exe asset_name: xmake-${{ steps.tagName.outputs.tag }}.${{ env.RELEASE_NAME }}xp.exe asset_content_type: application/zip - diff --git a/.github/workflows/windows_luajit.yml b/.github/workflows/windows_luajit.yml index 228f8003f9..8f8ce8e6c9 100644 --- a/.github/workflows/windows_luajit.yml +++ b/.github/workflows/windows_luajit.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: os: [windows-2019, windows-2022] - arch: [x64, x86] + arch: [x64, x86, arm64] runs-on: ${{ matrix.os }} @@ -39,6 +39,8 @@ jobs: run: | if ("${{ matrix.arch }}" -eq "x64") { Write-Output "RELEASE_NAME=win64" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf-8 -Append + } elseif ("${{ matrix.arch }}" -eq "arm64") { + Write-Output "RELEASE_NAME=winarm64" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf-8 -Append } else { Write-Output "RELEASE_NAME=win32" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf-8 -Append } @@ -91,5 +93,3 @@ jobs: with: name: xmake-latest.${{ env.RELEASE_NAME }}.sha256 path: artifacts/${{env.RELEASE_NAME}}/shafile - -