Skip to content

Commit ff25af9

Browse files
committed
ci(actions): trying to fix artifact uploading
1 parent acacf7b commit ff25af9

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ jobs:
6060
- name: Artifact
6161
uses: actions/upload-artifact@v2
6262
with:
63-
name: ${{ matrix.os }}
64-
path: dist
63+
name: package
64+
path: package
6565

6666
release:
6767
needs: build
@@ -102,17 +102,16 @@ jobs:
102102
steps:
103103
- uses: actions/download-artifact@v2
104104
with:
105-
name: ${{ matrix.os }}
105+
name: package
106106
path: ProjectExportAPI
107107

108108
- name: list path
109-
if: startsWith(matrix.os, 'windows')
110-
run: dir ProjectExportAPI
109+
run: ls -l ProjectExportAPI
111110

112111
- name: Compress folder
113112
run: tar -cvzf ProjectExportAPI.tar.gz ProjectExportAPI
114113

115-
- name: Upload Linux Asset
114+
- name: Upload Asset
116115
uses: actions/upload-release-asset@v1
117116
env:
118117
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)