Skip to content

Commit d8ceb4c

Browse files
committed
update workflow
1 parent 16005bd commit d8ceb4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/webpack.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535
run: npm run build
3636

3737
- name: Zip
38-
run: git archive -o "${GITHUB_WORKSPACE}/${GITHUB_REPOSITORY}.zip" ${GITHUB_SHA}
38+
run: git archive -o "${GITHUB_REPOSITORY}.zip" --prefix="${GITHUB_REPOSITORY}/" ${GITHUB_SHA}
3939
shell: bash
4040

4141
- name: Upload zip
4242
uses: actions/upload-artifact@v4
4343
with:
4444
name: ${{ github.event.repository.name }}
45-
path: ${{ github.workspace }}${{ github.repository }}.zip
45+
path: ${{ github.repository }}.zip

0 commit comments

Comments
 (0)