Skip to content

Commit 05843bf

Browse files
committed
Update:release.yml
1 parent 90344d0 commit 05843bf

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ name: Build and Release Steam Game Recommend
44
on:
55
push:
66
tags:
7-
- 'v*' # v1.0.0, v1.1.0 등의 태그가 푸시될 때 실행
7+
- 'v*' # Triggers when tags like v1.0.0, v1.1.0 are pushed
88

99
jobs:
1010
build-and-release:
11-
runs-on: windows-latest # Windows에서 테스트했으므로 Windows 환경 사용
11+
runs-on: windows-latest # Using Windows environment as it was tested on Windows
1212
permissions:
1313
contents: write
1414

@@ -29,43 +29,41 @@ jobs:
2929
cache: 'npm'
3030
cache-dependency-path: electron/package-lock.json
3131

32-
# Spring Boot JAR 파일 빌드
32+
# Build Spring Boot JAR file
3333
- name: Build Spring Boot JAR
3434
run: |
3535
./gradlew clean bootJar
3636
shell: cmd
3737

38-
# JAR 파일을 Electron resources 폴더로 복사
38+
# Copy JAR file to Electron resources folder
3939
- name: Copy JAR to Electron resources
4040
run: |
4141
if not exist "electron\resources" mkdir "electron\resources"
4242
copy "build\libs\recommend-0.0.1-SNAPSHOT.jar" "electron\resources\"
4343
shell: cmd
4444

45-
# Electron 의존성 설치
45+
# Install Electron dependencies
4646
- name: Install Electron dependencies
4747
run: npm install
4848
working-directory: electron
4949

50-
# Electron 앱 빌드
50+
# Build Electron app
5151
- name: Build Electron App
5252
run: npm run dist
5353
working-directory: electron
5454

55-
# 빌드 결과물 확인
55+
# Check build artifacts
5656
- name: List build artifacts
5757
run: |
58-
echo "=== JAR 파일 ==="
58+
echo "=== JAR Files ==="
5959
dir build\libs\
60-
echo "=== Electron 빌드 결과물 ==="
60+
echo "=== Electron Build Results ==="
6161
dir electron\dist\
6262
shell: cmd
6363

64-
# GitHub Release 생성
64+
# Create GitHub Release
6565
- name: Create Release
6666
uses: softprops/action-gh-release@v1
67-
permissions:
68-
contents: write
6967
with:
7068
files: |
7169
electron/dist/*.exe
@@ -133,7 +131,7 @@ jobs:
133131
env:
134132
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
135133

136-
# 빌드 실패 시 로그 출력
134+
# Upload build logs on failure
137135
- name: Upload build logs on failure
138136
if: failure()
139137
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)