mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
ci: use custom token for release so it isn't rate limited
This commit is contained in:
4
.github/workflows/clean-artifacts.yml
vendored
4
.github/workflows/clean-artifacts.yml
vendored
@ -1,8 +1,8 @@
|
|||||||
name: Clean Artifacts
|
name: Clean Artifacts
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
# Every 6 hours
|
# Once a day
|
||||||
- cron: '0 */6 * * *'
|
- cron: '0 0 * * *'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
jobs:
|
jobs:
|
||||||
remove-old-artifacts:
|
remove-old-artifacts:
|
||||||
|
3
.github/workflows/release-tip.yml
vendored
3
.github/workflows/release-tip.yml
vendored
@ -65,6 +65,7 @@ jobs:
|
|||||||
tag_name: tip
|
tag_name: tip
|
||||||
target_commitish: ${{ github.sha }}
|
target_commitish: ${{ github.sha }}
|
||||||
files: ghostty-${{ matrix.arch }}.flatpak
|
files: ghostty-${{ matrix.arch }}.flatpak
|
||||||
|
token: ${{ secrets.GH_RELEASE_TOKEN }}
|
||||||
|
|
||||||
build-macos:
|
build-macos:
|
||||||
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
|
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
|
||||||
@ -116,6 +117,7 @@ jobs:
|
|||||||
tag_name: tip
|
tag_name: tip
|
||||||
target_commitish: ${{ github.sha }}
|
target_commitish: ${{ github.sha }}
|
||||||
files: ghostty-macos-universal-unsigned.zip
|
files: ghostty-macos-universal-unsigned.zip
|
||||||
|
token: ${{ secrets.GH_RELEASE_TOKEN }}
|
||||||
|
|
||||||
- name: Codesign app bundle
|
- name: Codesign app bundle
|
||||||
env:
|
env:
|
||||||
@ -181,3 +183,4 @@ jobs:
|
|||||||
tag_name: tip
|
tag_name: tip
|
||||||
target_commitish: ${{ github.sha }}
|
target_commitish: ${{ github.sha }}
|
||||||
files: ghostty-macos-universal.zip
|
files: ghostty-macos-universal.zip
|
||||||
|
token: ${{ secrets.GH_RELEASE_TOKEN }}
|
||||||
|
Reference in New Issue
Block a user