Skip to content

Commit 5e4ad87

Browse files
chore(ci): drop dead .apk content-type branch in release.js
This repo's release workflow ships only the AAR, never a demo APK, so the .apk MIME-type branch was unreachable. Signed-off-by: RemiliaForever <remilia@koumakan.cc>
1 parent d1e281a commit 5e4ad87

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/scripts/release.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,7 @@ module.exports = async ({ github, context, core }) => {
144144
? "application/gzip"
145145
: fileName.endsWith(".aar")
146146
? "application/java-archive"
147-
: fileName.endsWith(".apk")
148-
? "application/vnd.android.package-archive"
149-
: "application/zip";
147+
: "application/zip";
150148
await withRetry(
151149
() =>
152150
github.rest.repos.uploadReleaseAsset({

0 commit comments

Comments
 (0)