Skip to content

Commit

Permalink
Add Sparkle
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaski committed Jan 15, 2025
1 parent 9517774 commit 047903e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ env:

kdsingleapplication_version: '1.1.0'

sparkle_version: '2.6.4'

max_releases: '6'

curl_options: '-f -O -L --connect-timeout 15 -m 900 --retry 15 --retry-delay 10 --retry-max-time 300 --retry-all-errors'
Expand Down Expand Up @@ -3281,6 +3283,25 @@ jobs:
run: make install


- name: Download sparkle
shell: bash
working-directory: downloads
run: curl ${{env.curl_options}} https://github.com/sparkle-project/Sparkle/releases/download/${{env.sparkle_version}}/Sparkle-${{env.sparkle_version}}.tar.xz

- name: Extract sparkle
shell: bash
working-directory: build
run: |
mkdir sparkle
cd sparkle
tar -xf ../../downloads/Sparkle-${{env.sparkle_version}}.tar.xz
- name: Install sparkle
shell: bash
working-directory: build/sparkle
run: cp -R Sparkle.framework ${{env.prefix_path}}/lib/


- name: Cleanup build directory
if: env.runner == 'macos-11' || env.runner == 'macos-12' || env.runner == 'macos-13' || env.runner == 'macos-14'
shell: bash
Expand Down
3 changes: 3 additions & 0 deletions scripts/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ function update_package() {
"protobuf")
package_version_latest=$(latest_github_release "protocolbuffers" "protobuf")
;;
"sparkle")
package_version_latest=$(latest_github_release "sparkle-project" "Sparkle")
;;
*)
package_version_latest=
error "No update rule for package: ${package}"
Expand Down

0 comments on commit 047903e

Please sign in to comment.