From efada2d6304ac2d6b9d98f25db4d792bb8fe1b66 Mon Sep 17 00:00:00 2001 From: Daniel Inama <62436912+frostplexx@users.noreply.github.com> Date: Sat, 25 May 2024 11:51:16 +0200 Subject: [PATCH] Update publish_sparkle.yml --- .github/workflows/publish_sparkle.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish_sparkle.yml b/.github/workflows/publish_sparkle.yml index 606be3a..74d146c 100644 --- a/.github/workflows/publish_sparkle.yml +++ b/.github/workflows/publish_sparkle.yml @@ -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 @@ -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"