Skip to content

Commit

Permalink
Update publish_sparkle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
frostplexx authored May 25, 2024
1 parent 027d85c commit efada2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish_sparkle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:

- name: Download release asset
id: download
env:
GITHUB_TOKEN: "${{ secrets.RELEASE_REPO_SECRET }}"
run: |
gh release download ${{ github.event.release.tag_name }} --repo ${{ github.repository }} --pattern '*.dmg' --dir ./
mv ./*.dmg lo-rain.dmg
Expand All @@ -31,6 +33,8 @@ jobs:
sed -i "s|https://lo.cafe/lo-rain-files/lo-rain.dmg|https://github.com/${{ github.repository }}/releases/download/${{ github.event.release.tag_name }}/lo-rain.dmg|g" ./appcast.xml
- name: Upload appcast.xml to repository
env:
GITHUB_TOKEN: "${{ secrets.RELEASE_REPO_SECRET }}"
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
Expand Down

0 comments on commit efada2d

Please sign in to comment.