mirror of
https://github.com/jung-geun/NFD2NFC.git
synced 2026-06-21 04:15:14 +09:00
ci: release.yml 동작 수정 및 package.json publish never 설정
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 <noreply@anthropic.com>
This commit is contained in:
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@@ -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
|
||||
|
||||
@@ -103,6 +103,7 @@
|
||||
"directories": {
|
||||
"buildResources": "resources",
|
||||
"output": "dist"
|
||||
}
|
||||
},
|
||||
"publish": "never"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user