diff --git a/README.md b/README.md index a68b89e..d3f9486 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ jobs: - `arch` – target architecture - native compilation: - - `x64` (default) or its synonyms: `amd64`, `win64` + - `x64` (default) or its synonyms: `amd64`, `win64`, `x86_64` - `x86` or its synonyms: `win32` - cross-compilation: `x86_amd64`, `x86_arm`, `x86_arm64`, `amd64_x86`, `amd64_arm`, `amd64_arm64` - `sdk` – Windows SDK to use diff --git a/index.js b/index.js index a5f9bd8..f4fbd73 100644 --- a/index.js +++ b/index.js @@ -90,6 +90,8 @@ function main() { let arch_aliases = { "win32": "x86", "win64": "x64", + "x86_64": "x64", + "x86-64": "x64", } // Ignore case when matching as that's what humans expect. if (arch.toLowerCase() in arch_aliases) { diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index d09ec06..776dbc4 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1,6 +1,6 @@ { "name": "msvc-dev-cmd", - "version": "1.8.1", + "version": "1.9.0", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package-lock.json b/package-lock.json index 7f88284..fb3d5bb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "msvc-dev-cmd", - "version": "1.8.1", + "version": "1.9.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "1.8.1", + "version": "1.9.0", "license": "MIT", "dependencies": { "@actions/core": "^1.2" diff --git a/package.json b/package.json index 65c6d06..d555a9a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "msvc-dev-cmd", - "version": "1.8.1", + "version": "1.9.0", "description": "GitHub Action to setup Developer Command Prompt for Microsoft Visual C++", "main": "index.js", "scripts": {