We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9365a1a commit 89ab24eCopy full SHA for 89ab24e
1 file changed
.github/workflows/release.yml
@@ -53,7 +53,8 @@ jobs:
53
54
# dist配下から圧縮して "dist/" プレフィックスがZIPに入らないようにする
55
Push-Location dist
56
- Compress-Archive -Path $pkgRoot -DestinationPath (Join-Path .. "out/$zipName") -Force
+ # $pkgRoot フォルダ自体ではなく「中身」をZIPに入れる(同名フォルダ二重化を防ぐ)
57
+ Compress-Archive -Path (Join-Path $pkgRoot '*') -DestinationPath (Join-Path .. "out/$zipName") -Force
58
Pop-Location
59
60
# 後続stepで使うために環境変数へ
@@ -66,7 +67,7 @@ jobs:
66
67
with:
68
# Artifactは“フォルダ”をアップしておく(zip-in-zip回避)
69
name: sam_frame_export_filter-windows-x64
- path: dist/${{ env.PKG_ROOT }}
70
+ path: dist/${{ env.PKG_ROOT }}/*
71
72
- name: Upload to GitHub Release
73
uses: softprops/action-gh-release@v2
0 commit comments