fix: Correctly detect Arm AppImages (#799)

* fix: Correctly detect Arm AppImages

* Create appimage-arm.md
This commit is contained in:
Fabian-Lars
2024-05-23 22:23:13 +02:00
committed by GitHub
parent 09fec517e6
commit ec3a63a669
3 changed files with 15 additions and 6 deletions

5
.changes/appimage-arm.md Normal file
View File

@@ -0,0 +1,5 @@
---
action: patch
---
Fixed an issue that caused the action to not detect ARM AppImages.

10
dist/index.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -190,7 +190,11 @@ export async function buildProject(
? 'amd64'
: arch === 'x32' || arch === 'i686'
? 'i386'
: arch;
: arch === 'arm' // TODO: Confirm this
? 'arm'
: arch === 'arm64' // TODO: This is probably a Tauri bug
? 'aarch64'
: arch;
artifacts = [
{