Skip to content

Commit a1ae642

Browse files
author
Sanjay Soundarajan
committed
chore: release action v1.0.10
1 parent 8ecc06b commit a1ae642

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
- name: Upload to Zenodo
2020
id: release
21-
uses: megasanjay/[email protected].9
21+
uses: megasanjay/[email protected].10
2222
with:
2323
github_token: ${{ secrets.GITHUB_TOKEN }}
2424
zenodo_token: ${{ secrets.ZENODO_TOKEN }}

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101577,7 +101577,7 @@ const Ue = Dn(), KE = kn, b0 = an.default, XE = vi.default, {
101577101577
Ue.info(`Removing file ${k} from Zenodo draft deposition`), await oT(w, J, R, i);
101578101578
}
101579101579
l && (await aT(w, F), await iT(e, w, F)), Ue.info("Uploaded metadata files to GitHub"), await dT(w, $), Ue.info("Downloaded source code zipball from GitHub");
101580-
const T = await XE.readdir($);
101580+
const T = XE.readdirSync($);
101581101581
for (const I of T) {
101582101582
const R = b0.join($, I);
101583101583
Ue.info(`Preparing ${I} upload...`), await rT(w, J, i, q, I, R);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "upload-to-zenodo",
3-
"version": "1.0.9",
3+
"version": "1.0.10",
44
"description": "",
55
"main": "./dist/index.js",
66
"scripts": {

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ const main = async () => {
164164
core.info('Downloaded source code zipball from GitHub');
165165

166166
// get list of files in the release assets folder
167-
const files_in_release_assets_folder = await fs.readdir(
167+
const files_in_release_assets_folder = fs.readdirSync(
168168
releaseAssetsFolderPath,
169169
);
170170

0 commit comments

Comments
 (0)