Skip to content

Commit

Permalink
ㅅㄷㄴㅅ
Browse files Browse the repository at this point in the history
  • Loading branch information
kanghyungmin committed Sep 23, 2024
1 parent 81fb617 commit 0e4800a
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,19 @@ jobs:
cat release-notes.md
echo "(************)"
- name: Read Release Notes into Variable
id: read_notes
run: |
echo "body<<EOF" >> $GITHUB_ENV
cat release-notes.md >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
- name: Publish Release Notes
uses: softprops/action-gh-release@v2 # 최신 버전으로 업데이트
with:
tag_name: ${{ github.ref_name }} # refs/tags/ 없이 태그 이름만 사용
name: 'Release ${{ github.ref_name }}'
body: |
$(< release-notes.md)
body: ${{ env.body }} # 환경 변수 사용
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0e4800a

Please sign in to comment.