fix: unexpected return in uploadAssets (#978)

* fix: unexpected return in uploadAssets

* feat: index.js

* chore: change file
This commit is contained in:
Chiichen
2024-12-13 00:12:09 +08:00
committed by GitHub
parent 2a8db2c169
commit 91c7ee83a6
3 changed files with 7 additions and 2 deletions

5
.changes/fixrelease.md Normal file
View File

@@ -0,0 +1,5 @@
---
action: patch
---
Fix [This is not building for Latest JSON and Not uploading all assets](https://github.com/tauri-apps/tauri-action/issues/975)

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -58,7 +58,7 @@ export async function uploadAssets(
console.log(`Uploading ${assetName}...`);
return await github.rest.repos.uploadReleaseAsset({
await github.rest.repos.uploadReleaseAsset({
headers,
name: assetName,
// https://github.com/tauri-apps/tauri-action/pull/45