Skip to content

Commit e09298e

Browse files
committed
test: release upload
1 parent 0d4e98e commit e09298e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/scripts/upload-asset.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
22
* Uploads a file to a release
33
*/
4-
import FS from "fs";
4+
import FS from 'fs';
55

6-
module.exports = async ({
6+
const uploadReleaseAsset = async ({
77
github,
88
context,
99
release_id,
@@ -19,3 +19,5 @@ module.exports = async ({
1919
data: FS.readFileSync(assetPath),
2020
});
2121
};
22+
23+
export default uploadReleaseAsset;

0 commit comments

Comments
 (0)