mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-02 19:42:38 +00:00
ci: generate appcast, upload it
This commit is contained in:
12
.github/workflows/release-tip.yml
vendored
12
.github/workflows/release-tip.yml
vendored
@@ -179,7 +179,19 @@ jobs:
|
||||
files: ghostty-macos-universal.zip
|
||||
token: ${{ secrets.GH_RELEASE_TOKEN }}
|
||||
|
||||
# Create our appcast for Sparkle
|
||||
- name: Generate Appcast
|
||||
env:
|
||||
SPARKLE_KEY: ${{ secrets.PROD_MACOS_SPARKLE_KEY }}
|
||||
run: |
|
||||
echo $SPARKLE_KEY > signing.key
|
||||
sign_update -f signing.key src/App.zig > sign_update.txt
|
||||
curl -L https://tip.files.ghostty.dev/appcast.xml > appcast.xml
|
||||
python3 ./dist/macos/update_appcast_tip.py
|
||||
test -f appcast_new.xml
|
||||
|
||||
# Update Blob Storage
|
||||
- name: Upload to Blob Storage
|
||||
run: |
|
||||
s3cmd put ghostty-macos-universal.zip s3://ghostty-tip/${GHOSTTY_BUILD}/ghostty-macos-universal.zip
|
||||
s3cmd put appcast_new.xml s3://ghostty-tip/appcast.xml
|
||||
|
||||
Reference in New Issue
Block a user