Skip to content

Commit

Permalink
dist: Rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
bflad committed Apr 22, 2024
1 parent 113158b commit 26b2dd0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ async function run () {
const platform = mapOS(osPlatform);
let arch = mapArch(osArch);

// Terraform was not available for darwin/arm64 until 1.0.2
// Terraform was not available for darwin/arm64 until 1.0.2, however macOS
// runners can emulate darwin/amd64.
if (platform === 'darwin' && arch === 'arm64' && semver.valid(release.version) && semver.lt(release.version, '1.0.2')) {
core.warning('Terraform is not available for darwin/arm64 until version 1.0.2. Falling back to darwin/amd64.');
arch = 'amd64';
Expand Down

0 comments on commit 26b2dd0

Please sign in to comment.