mirror of
https://github.com/AmintaCCCP/GithubStarsManager.git
synced 2025-11-25 10:38:18 +08:00
fix workflow
This commit is contained in:
10
.github/workflows/build-desktop.yml
vendored
10
.github/workflows/build-desktop.yml
vendored
@@ -38,7 +38,15 @@ jobs:
|
||||
run: npm install sharp --save-dev
|
||||
|
||||
- name: Create build directory
|
||||
run: node -e "const fs = require('fs'); if (!fs.existsSync('build')) fs.mkdirSync('build', { recursive: true });"
|
||||
shell: bash
|
||||
run: |
|
||||
node -e "
|
||||
const fs = require('fs');
|
||||
if (!fs.existsSync('build')) {
|
||||
fs.mkdirSync('build', { recursive: true });
|
||||
}
|
||||
console.log('Build directory created');
|
||||
"
|
||||
|
||||
- name: Generate icons
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user