mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
e
This commit is contained in:
parent
347916f582
commit
ebaa340814
1 changed files with 3 additions and 3 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -158,7 +158,7 @@ jobs:
|
|||
// do whatever filtering you want here, I'm just uploading all the files
|
||||
console.log('uploading', file);
|
||||
|
||||
if (fs.lstat(`./linux/${file}`).isDirectory()) {
|
||||
if (fs.statSync(`./linux/${file}`).isDirectory()) {
|
||||
console.log("directory, skipping")
|
||||
} else {
|
||||
await github.repos.uploadReleaseAsset({
|
||||
|
@ -172,7 +172,7 @@ jobs:
|
|||
for (let file of await fs.readdir('windows')) {
|
||||
// do whatever filtering you want here, I'm just uploading all the files
|
||||
console.log('uploading', file);
|
||||
if (fs.lstat(`./windows/${file}`).isDirectory()) {
|
||||
if (fs.statSync(`./windows/${file}`).isDirectory()) {
|
||||
console.log("directory, skipping")
|
||||
} else {
|
||||
await github.repos.uploadReleaseAsset({
|
||||
|
@ -187,7 +187,7 @@ jobs:
|
|||
// do whatever filtering you want here, I'm just uploading all the files
|
||||
console.log('uploading', file);
|
||||
|
||||
if (fs.lstat(`./macos/${file}`).isDirectory()) {
|
||||
if (fs.statSync(`./macos/${file}`).isDirectory()) {
|
||||
console.log("directory, skipping")
|
||||
} else {
|
||||
await github.repos.uploadReleaseAsset({
|
||||
|
|
Loading…
Reference in a new issue