Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
ci: set a job to upload appcast artifact for testing [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
wibus-wee committed Aug 17, 2024
1 parent b116fd5 commit 77cccc8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Sparkle Appcast
############################
- name: Update Sparkle appcast
if: github.event_name == 'release'
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
env:
# SPARKLE_KEY: Sparkle EdDSA key exported from `generate_keys -x` as plain text
# SPARKLE_CHANNEL: Seperate dev builds from default channel, to be specified in [SPUUpdaterDelegate allowedChannelsForUpdater:]
Expand Down Expand Up @@ -103,4 +103,11 @@ jobs:
if: github.event_name == 'release'
uses: softprops/action-gh-release@v2
with:
files: "${{ RUNNER.TEMP }}/Sparkle_Archive/appcast.xml"
files: "${{ RUNNER.TEMP }}/Sparkle_Archive/appcast.xml"

- name: Upload Sparkle Artifact
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
uses: actions/upload-artifact@v4
with:
name: appcast.xml
path: "${{ RUNNER.TEMP }}/Sparkle_Archive/appcast.xml"

0 comments on commit 77cccc8

Please sign in to comment.