mirror of
https://github.com/sxyazi/yazi.git
synced 2024-09-11 18:38:19 +03:00
Compare commits
9 Commits
b693d6be9e
...
3c5a979b94
Author | SHA1 | Date | |
---|---|---|---|
|
3c5a979b94 | ||
|
67cbca623f | ||
|
406f245c10 | ||
|
9ddeea1c4d | ||
|
a807a0bf90 | ||
|
0b5dd5a9a2 | ||
|
dc0014632e | ||
|
af15019302 | ||
|
dec8966c9e |
32
.github/workflows/draft.yml
vendored
32
.github/workflows/draft.yml
vendored
@ -4,6 +4,8 @@ on:
|
||||
push:
|
||||
tags:
|
||||
- "v[0-9]+.[0-9]+.[0-9]+"
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
jobs:
|
||||
build-unix:
|
||||
@ -145,3 +147,33 @@ jobs:
|
||||
yazi-*.zip
|
||||
yazi-*.snap
|
||||
generate_release_notes: true
|
||||
|
||||
nightly:
|
||||
permissions:
|
||||
contents: write
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build-unix, build-windows, build-musl, build-snap]
|
||||
steps:
|
||||
- uses: actions/download-artifact@v4
|
||||
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'
|
||||
with:
|
||||
tag_name: "nightly"
|
||||
prerelease: true
|
||||
files: |
|
||||
yazi-*.zip
|
||||
yazi-*.snap
|
||||
generate_release_notes: true
|
||||
body: ${{ env.RELEASE_NOTE }}
|
||||
|
Loading…
Reference in New Issue
Block a user