testing with branch pushes

This commit is contained in:
Konrad Baran 2024-08-02 14:35:46 +02:00
parent 0b5dd5a9a2
commit a807a0bf90
No known key found for this signature in database
GPG key ID: B1447A483969736A

View file

@ -4,9 +4,11 @@ on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
# !TODO: remove the following line before merging
branches:
- ci-nightly-builds
schedule:
- cron: '28 12 * * *'
workflow_dispatch:
jobs:
# build-unix:
@ -174,7 +176,8 @@ jobs:
- name: Nightly
uses: softprops/action-gh-release@v1
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
# !TODO: uncomment the following line before merging
# if: github.event_name == 'schedule'
with:
tag_name: "yazi-nightly-${{ env.CURRENT_DATE }}"
prerelease: true