mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
f
This commit is contained in:
parent
c1e60574d4
commit
713dee231d
1 changed files with 3 additions and 4 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -157,8 +157,7 @@ jobs:
|
|||
for (let file of await fs.readdir('linux')) {
|
||||
// do whatever filtering you want here, I'm just uploading all the files
|
||||
console.log('uploading', file);
|
||||
|
||||
if (fs.stat(`./linux/${file}`).isDirectory()) {
|
||||
if (await fs.stat(`./linux/${file}`).isDirectory()) {
|
||||
console.log("directory, skipping")
|
||||
} else {
|
||||
await github.repos.uploadReleaseAsset({
|
||||
|
@ -172,7 +171,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.stat(`./windows/${file}`).isDirectory()) {
|
||||
if (await fs.stat(`./windows/${file}`).isDirectory()) {
|
||||
console.log("directory, skipping")
|
||||
} else {
|
||||
await github.repos.uploadReleaseAsset({
|
||||
|
@ -187,7 +186,7 @@ jobs:
|
|||
// do whatever filtering you want here, I'm just uploading all the files
|
||||
console.log('uploading', file);
|
||||
|
||||
if (fs.stat(`./macos/${file}`).isDirectory()) {
|
||||
if (await fs.stat(`./macos/${file}`).isDirectory()) {
|
||||
console.log("directory, skipping")
|
||||
} else {
|
||||
await github.repos.uploadReleaseAsset({
|
||||
|
|
Loading…
Reference in a new issue