mirror of
https://github.com/jung-geun/NFD2NFC.git
synced 2025-12-20 04:20:45 +09:00
파일 이름 변환기 기능 추가: README 문서 작성 및 CLI 도구와 백그라운드 프로세스 구현
This commit is contained in:
43
.github/workflows/build.yaml
vendored
Normal file
43
.github/workflows/build.yaml
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
name: Build and Package
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '16'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
|
||||
- name: Build package
|
||||
run: npm run build
|
||||
|
||||
- name: Build with pkg
|
||||
run: npx pkg .
|
||||
|
||||
- name: Build .app file
|
||||
run: |
|
||||
npm install electron-packager --save-dev
|
||||
npx electron-packager . MyApp --platform=darwin --arch=arm64,x64 --out=release-builds
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: build-artifacts
|
||||
path: |
|
||||
*.exe
|
||||
*.app
|
||||
release-builds/**
|
||||
Reference in New Issue
Block a user