Fix copy issue by removing existing files
This commit is contained in:
parent
fc05d34160
commit
4a4441761c
1 changed files with 3 additions and 3 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
|
@ -18,10 +18,10 @@ jobs:
|
|||
submodules: true
|
||||
- name: Create Build Folder
|
||||
run: "mkdir -p build"
|
||||
- name: Remove existing build files
|
||||
run: "rm build/*"
|
||||
- name: Copy files to build folder
|
||||
run: "yes | cp -f *.{js,py,json} build/"
|
||||
- name: Remove existing minified files
|
||||
run: "rm build/*.min.js"
|
||||
run: "cp *.{js,py,json} build/"
|
||||
- name: Minify JavaScript
|
||||
uses: nizarmah/auto-minify@v2.1
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in a new issue