Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Action to publish a Sparkle autoupdate, used to update Whist on macOS

Notifications You must be signed in to change notification settings

philippemnoel/whist-update-appcast

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Update Appcast Action

This action generates a Sparkle appcast containing a link to the latest version of Whist and uploads it to S3. The static file in S3 acts as an RSS feed that is read by the Sparkle update client built into Whist.

Usage

- uses: whisthq/update-appcast@v0.2
  with:
    # The latest version of Whist
    # Required
    version: "1.2.3-rc.4"

    # The name of the S3 bucket that will host the DMG and appcast.xml
    # Required
    bucket: "whist-browser-macos-arm64-prod"

    # The name of the DMG file in S3
    # Required
    object-key: "Whist-Nightly-1.2.3-rc.4-x64.dmg"

    # The path to the file containing the Sparkle EdDSA signature produced by
    # the create_dist GN target
    # Required
    sparkle-sig-file: "/path/to/src/out/Release/Whist Beta.dmg.eddsa"

    # Your AWS access key ID. Only required if AWS credentials have not already
    # been set.
    aws-access-key-id: "ABCDEFG..."

    # Your AWS secret access key. Only required if AWS credentials have not
    # already been set.
    aws-secret-access-key: "***"

Examples

Publish Whist stable version 3.2.1 for Apple Silicon Macs

- uses: whisthq/update-appcast@v0.2
  with:
    version: "3.2.1"
    bucket: "whist-browser-macos-arm64-prod"
    object-name: "Whist-3.2.1-arm64.dmg"
    sparkle-sig-file: "/path/to/src/out/Release_arm64/Whist Browser.dmg.eddsa"

Publish Whist staging version 3.2.1 prerelease 4 for Intel Macs

- uses: whisthq/update-appcast@v0.2
  with:
    version: "3.2.1-staging-rc.4"
    object-name: "Whist-Beta-3.2.1-staging-rc.4-x64.dmg"
    sparkle-sig-file: "/path/to/src/out/Release/Whist Browser Beta.dmg.eddsa"
    ...