mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
added nightly info in release body
This commit is contained in:
parent
406f245c10
commit
67cbca623f
1 changed files with 9 additions and 0 deletions
9
.github/workflows/draft.yml
vendored
9
.github/workflows/draft.yml
vendored
|
|
@ -158,6 +158,14 @@ jobs:
|
|||
with:
|
||||
merge-multiple: true
|
||||
|
||||
- run: |
|
||||
GITHUB_SHA_SHORT=${GITHUB_SHA:0:8}
|
||||
UTC_DATE=$(date -u +"%Y-%m-%d %H:%M")
|
||||
echo 'RELEASE_NOTE<<EOF' >> $GITHUB_ENV
|
||||
echo "From commit: ${GITHUB_SHA_SHORT}" >> $GITHUB_ENV
|
||||
echo "Generated on: ${UTC_DATE} UTC" >> $GITHUB_ENV
|
||||
echo "EOF" >> $GITHUB_ENV
|
||||
|
||||
- name: Nightly
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: github.event_name == 'schedule'
|
||||
|
|
@ -168,3 +176,4 @@ jobs:
|
|||
yazi-*.zip
|
||||
yazi-*.snap
|
||||
generate_release_notes: true
|
||||
body: ${{ env.RELEASE_NOTE }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue