allowing manual runs

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

View file

@ -6,6 +6,7 @@ on:
- "v[0-9]+.[0-9]+.[0-9]+"
schedule:
- cron: '28 12 * * *'
workflow_dispatch:
jobs:
# build-unix:
@ -173,7 +174,7 @@ jobs:
- name: Nightly
uses: softprops/action-gh-release@v1
if: github.event_name == 'schedule'
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
with:
tag_name: "yazi-nightly-${{ env.CURRENT_DATE }}"
prerelease: true