Skip to content

Commit

Permalink
fix: Use aarch64 instead of arm64 to find rpm packages (#821)
Browse files Browse the repository at this point in the history
  • Loading branch information
pewsheen committed Jun 11, 2024
1 parent 8f46b2a commit d80ec2c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changes/fix-rpm-aarch64.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
action: patch
---

Fixed an issue that the action can't find aarch64 rpm package.
8 changes: 4 additions & 4 deletions dist/index.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@ export async function buildProject(
? 'i386'
: arch === 'arm'
? 'armhfp'
: arch;
: arch === 'arm64'
? 'aarch64'
: arch;
const appImageArch =
arch === 'x64' || arch === 'x86_64'
? 'amd64'
Expand Down

0 comments on commit d80ec2c

Please sign in to comment.