Skip to content

Commit 82a3c86

Browse files
author
LittleSource
committed
fix
1 parent 097736e commit 82a3c86

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/release.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -37,31 +37,29 @@ jobs:
3737
- name: build app
3838
run: |
3939
npm run build
40-
env:
41-
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
4240
4341
# step5: cleanup artifacts in build
4442
- name: cleanup artifacts for windows
4543
if: matrix.os == 'windows-2019'
4644
run: |
47-
npx rimraf "build/!(*.exe)"
45+
npx rimraf "dist/!(*.exe)"
4846
- name: cleanup artifacts for macosZ
4947
if: matrix.os == 'macos-10.15'
5048
run: |
51-
npx rimraf "build/!(*.dmg)"
49+
npx rimraf "dist/!(*.dmg)"
5250
5351
# step6: upload artifacts
5452
- name: upload artifacts
5553
uses: actions/upload-artifact@v2
5654
with:
5755
name: ${{ matrix.os }}
58-
path: build
56+
path: dist
5957

6058
# step7: create release
6159
- name: release
6260
uses: softprops/action-gh-release@v1
6361
if: startsWith(github.ref, 'refs/tags/')
6462
with:
65-
files: "build/**"
63+
files: "dist/**"
6664
env:
6765
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}

0 commit comments

Comments
 (0)