Skip to content

Commit abcb8fd

Browse files
committed
last
1 parent 91ff6d1 commit abcb8fd

File tree

1 file changed

+14
-22
lines changed

1 file changed

+14
-22
lines changed

.github/workflows/build-release.yaml

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -65,29 +65,21 @@ jobs:
6565

6666
release:
6767
needs: build
68-
if: github.event_name == 'push' || github.event_name == 'release'
68+
if: github.event_name == 'push' # 수동 릴리즈 제거!
6969
runs-on: ubuntu-latest
7070
steps:
71-
- name: Download artifact
72-
uses: actions/download-artifact@v4
73-
with:
74-
name: release_artifacts
71+
- name: Download artifact
72+
uses: actions/download-artifact@v4
73+
with:
74+
name: release_artifacts
7575

76-
- name: Create GitHub Release (자동 생성)
77-
if: github.event_name == 'push'
78-
uses: softprops/action-gh-release@v1
79-
with:
80-
tag_name: auto-${{ github.run_number }}
81-
name: "Auto Release ${{ github.run_number }}"
82-
body: "Automated release"
83-
files: assignment_4/release_artifacts.zip
84-
env:
85-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
76+
- name: Create GitHub Release (자동 생성)
77+
uses: softprops/action-gh-release@v1
78+
with:
79+
tag_name: auto-${{ github.run_number }}
80+
name: "Auto Release ${{ github.run_number }}"
81+
body: "Automated release"
82+
files: release_artifacts.zip # ⬅️ 경로 수정! 폴더명 제거
83+
env:
84+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8685

87-
- name: Upload to GitHub Release (수동 release용)
88-
if: github.event_name == 'release'
89-
uses: softprops/action-gh-release@v1
90-
with:
91-
files: assignment_4/release_artifacts.zip
92-
env:
93-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)