Compare commits

...

9 Commits

Author SHA1 Message Date
Konrad Baran
3c5a979b94
Merge 67cbca623f into 52681b19e4 2024-08-05 20:11:41 +02:00
Konrad Baran
67cbca623f
added nightly info in release body 2024-08-05 20:11:35 +02:00
Konrad Baran
406f245c10
changing tag name for nightly to be static 2024-08-02 20:17:13 +02:00
Konrad Baran
9ddeea1c4d
cleaning up 2024-08-02 14:37:48 +02:00
Konrad Baran
a807a0bf90
testing with branch pushes 2024-08-02 14:35:46 +02:00
Konrad Baran
0b5dd5a9a2
allowing manual runs 2024-08-02 14:31:14 +02:00
Konrad Baran
dc0014632e
changing to utc 2024-08-02 14:26:59 +02:00
Konrad Baran
af15019302
changing cron to dev 2024-08-02 14:23:22 +02:00
Konrad Baran
dec8966c9e
init: preparing env, adding nightly on cron schedule 2024-08-02 14:22:27 +02:00

View File

@ -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 }}