From 2e3a9d14024b6b26859238f10c97a73851134194 Mon Sep 17 00:00:00 2001 From: jung-geun Date: Sat, 9 May 2026 16:05:13 +0900 Subject: [PATCH] =?UTF-8?q?ci:=20release.yml=20=EB=8F=99=EC=9E=91=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=20=EB=B0=8F=20package.json=20publish=20never?= =?UTF-8?q?=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit release.yml: - setup-node cache: 'npm' 추가로 설치 속도 향상 - CSC_IDENTITY_AUTO_DISCOVERY=false: code signing 없이 DMG 빌드 가능 - List dist 단계 추가 (디버깅용) - softprops/action-gh-release token 명시, files 멀티라인 형식 package.json: - build.publish: "never" 추가 (electron-builder 자체 auto-publish 방지) Co-Authored-By: Claude Opus 4.7 --- .github/workflows/release.yml | 12 +++++++++--- package.json | 3 ++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a128ea8..6d3726b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,16 +15,22 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20.x' + cache: 'npm' - name: Install dependencies run: npm ci - name: Build run: npm run build + env: + CSC_IDENTITY_AUTO_DISCOVERY: "false" + + - name: List dist + run: ls -lh dist/ - name: Upload DMG assets uses: softprops/action-gh-release@v2 with: - files: dist/*.dmg - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} + files: | + dist/*.dmg diff --git a/package.json b/package.json index 4b2e3dd..1599bd2 100644 --- a/package.json +++ b/package.json @@ -103,6 +103,7 @@ "directories": { "buildResources": "resources", "output": "dist" - } + }, + "publish": "never" } }