Skip to content

Commit

Permalink
Merge pull request #53 from ggchivalrous/actions
Browse files Browse the repository at this point in the history
fix: 修复action脚本文件上传失败问题
  • Loading branch information
ggchivalrous authored Mar 16, 2024
2 parents e6ca397 + 5045cf3 commit 52115bb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-mac-x64-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- name: 构建 ${{ runner.arch }}
run: |
yarn make
mkdir upload-dist
yarn push:dev
- name: Download artifacts
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-win-x64-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- name: 构建 ${{ runner.arch }}
run: |
yarn make
mkdir upload-dist
yarn push:dev
- name: Download artifacts
Expand Down
1 change: 0 additions & 1 deletion dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ async function start() {
const files = fs.readdirSync(path.join(__dirname, 'dist'));
const toPath = fs.readdirSync(path.join(__dirname, 'upload-dist'));
console.log('文件列表:', files);
fs.mkdirSync(toPath);

for (const file of files) {
const filePath = path.join(__dirname, 'dist', file);
Expand Down

0 comments on commit 52115bb

Please sign in to comment.