ci: use custom token for release so it isn't rate limited
parent
63fa34ef6b
commit
923df53825
|
|
@ -1,8 +1,8 @@
|
|||
name: Clean Artifacts
|
||||
on:
|
||||
schedule:
|
||||
# Every 6 hours
|
||||
- cron: '0 */6 * * *'
|
||||
# Once a day
|
||||
- cron: '0 0 * * *'
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
remove-old-artifacts:
|
||||
|
|
|
|||
|
|
@ -65,6 +65,7 @@ jobs:
|
|||
tag_name: tip
|
||||
target_commitish: ${{ github.sha }}
|
||||
files: ghostty-${{ matrix.arch }}.flatpak
|
||||
token: ${{ secrets.GH_RELEASE_TOKEN }}
|
||||
|
||||
build-macos:
|
||||
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
|
||||
|
|
@ -116,6 +117,7 @@ jobs:
|
|||
tag_name: tip
|
||||
target_commitish: ${{ github.sha }}
|
||||
files: ghostty-macos-universal-unsigned.zip
|
||||
token: ${{ secrets.GH_RELEASE_TOKEN }}
|
||||
|
||||
- name: Codesign app bundle
|
||||
env:
|
||||
|
|
@ -181,3 +183,4 @@ jobs:
|
|||
tag_name: tip
|
||||
target_commitish: ${{ github.sha }}
|
||||
files: ghostty-macos-universal.zip
|
||||
token: ${{ secrets.GH_RELEASE_TOKEN }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue