Skip to content

Commit 9df6af5

Browse files
committed
update release artifact workflow
1 parent 364f994 commit 9df6af5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release-artifact.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@ jobs:
5757
id: build-artifact
5858
env:
5959
ZIP: ${{ env.REPO }}.zip
60-
DIR: ../${{ env.REPO }}
61-
run: zip -r ${{ env.ZIP }} ${{ env.DIR }} -x ${{ env.EXCLUDES }}
60+
DIR: ${{ env.REPO }}
61+
run: cd .. && zip -r ${{ env.ZIP }} ${{ env.DIR }} -x ${{ env.EXCLUDES }}
6262
- name: Upload artifact
6363
uses: actions/upload-release-asset@v1.0.1
6464
env:
6565
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6666
with:
6767
upload_url: ${{ github.event.release.upload_url }}
68-
asset_path: ./${{ env.REPO }}.zip
68+
asset_path: ../${{ env.REPO }}.zip
6969
asset_name: ${{ env.REPO }}.zip
7070
asset_content_type: application/zip

0 commit comments

Comments
 (0)