diff --git a/README.md b/README.md index ba8d8c4..f436163 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,11 @@ This action sets up a Julia environment for use in actions by downloading a spec # The architecture of the Julia binaries. # - # Supported values: x64 | x86 + # Please note that installing aarch64 binaries only makes sense on self-hosted aarch64 runners. + # We currently don't run test builds on that architecture, so we cannot guarantee that the input won't break randomly, + # although there is no reason why it would. + # + # Supported values: x64 | x86 | aarch64 (untested) # # Default: x64 arch: '' diff --git a/lib/installer.js b/lib/installer.js index 8034a17..e97e625 100644 --- a/lib/installer.js +++ b/lib/installer.js @@ -32,7 +32,8 @@ const osMap = { }; const archMap = { 'x86': 'i686', - 'x64': 'x86_64' + 'x64': 'x86_64', + 'aarch64': 'aarch64' }; // Store information about the environment const osPlat = os.platform(); // possible values: win32 (Windows), linux (Linux), darwin (macOS) diff --git a/package-lock.json b/package-lock.json index 6cc2cd8..26147bf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,6 +5,7 @@ "requires": true, "packages": { "": { + "name": "setup-julia", "version": "1.6.1", "license": "MIT", "dependencies": { diff --git a/src/installer.ts b/src/installer.ts index 77ec49b..8a1e94b 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -18,7 +18,8 @@ const osMap = { } const archMap = { 'x86': 'i686', - 'x64': 'x86_64' + 'x64': 'x86_64', + 'aarch64': 'aarch64' } // Store information about the environment