Skip to content

Commit d54c1a8

Browse files
author
psadi
committed
ci: test
1 parent 7248792 commit d54c1a8

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Build
22
on:
3-
schedule:
4-
- cron: "0 0 * * *"
3+
# schedule:
4+
# - cron: "0 0 * * *"
55
workflow_dispatch: {}
66
pull_request:
77
types: [opened, synchronize, reopened]
@@ -64,11 +64,23 @@ jobs:
6464
path: /tmp/ghostty-build/Ghostty-*-${{ matrix.arch }}.AppImage*
6565

6666
- name: Upload binaries to release
67-
if: ${{ github.event_name == 'release' || github.event_name == 'schedule' }}
67+
if: ${{ github.event_name == 'release' }}
6868
uses: svenstaro/upload-release-action@v2
6969
with:
7070
repo_token: ${{ secrets.GITHUB_TOKEN }}
7171
file: /tmp/ghostty-build/Ghostty-*-${{ matrix.arch }}.AppImage*
72-
tag: ${{ github.event_name == 'release' && github.ref || 'tip' }}
72+
tag: ${{ github.ref }}
7373
overwrite: true
7474
file_glob: true
75+
76+
- name: Ghostty Tip ("Nightly") release
77+
uses: marvinpinto/[email protected]
78+
# if: ${{ github.event_name == 'schedule' }}
79+
with:
80+
title: Ghostty Tip ("Nightly")
81+
automatic_release_tag: tip
82+
prerelease: true
83+
draft: false
84+
files: |
85+
/tmp/ghostty-build/Ghostty-*-${{ matrix.arch }}.AppImage*
86+
repo_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)