File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -37,31 +37,29 @@ jobs:
37
37
- name : build app
38
38
run : |
39
39
npm run build
40
- env :
41
- GH_TOKEN : ${{ secrets.ACCESS_TOKEN }}
42
40
43
41
# step5: cleanup artifacts in build
44
42
- name : cleanup artifacts for windows
45
43
if : matrix.os == 'windows-2019'
46
44
run : |
47
- npx rimraf "build /!(*.exe)"
45
+ npx rimraf "dist /!(*.exe)"
48
46
- name : cleanup artifacts for macosZ
49
47
if : matrix.os == 'macos-10.15'
50
48
run : |
51
- npx rimraf "build /!(*.dmg)"
49
+ npx rimraf "dist /!(*.dmg)"
52
50
53
51
# step6: upload artifacts
54
52
- name : upload artifacts
55
53
uses : actions/upload-artifact@v2
56
54
with :
57
55
name : ${{ matrix.os }}
58
- path : build
56
+ path : dist
59
57
60
58
# step7: create release
61
59
- name : release
62
60
uses : softprops/action-gh-release@v1
63
61
if : startsWith(github.ref, 'refs/tags/')
64
62
with :
65
- files : " build /**"
63
+ files : " dist /**"
66
64
env :
67
65
GITHUB_TOKEN : ${{ secrets.ACCESS_TOKEN }}
You can’t perform that action at this time.
0 commit comments