Skip to content

Free fork of NotProton: Windows Steam games in Mac Steam, on CodeWeavers' Wine and Apple's Game Porting Toolkit

Show release notes in Sparkle as HTML

NotProtonNotd827ef80ee69
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 07d24d4..8996b75 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -46,11 +46,12 @@ jobs:
- name: Generate the appcast
env:
+ GH_TOKEN: ${{ github.token }}
RELEASE_NOTES: ${{ inputs.release_notes }}
SPARKLE_PRIVATE_KEY: ${{ secrets.SPARKLE_PRIVATE_KEY }}
VERSION: ${{ inputs.version }}
run: |
- printf '%s\n' "$RELEASE_NOTES" > release/NotProton.txt
+ gh api markdown -f text="$RELEASE_NOTES" -f mode=gfm -f context="$GITHUB_REPOSITORY" > release/NotProton.html
printf '%s' "$SPARKLE_PRIVATE_KEY" | app/.build/artifacts/sparkle/Sparkle/bin/generate_appcast \
--ed-key-file - \
--download-url-prefix "https://github.com/$GITHUB_REPOSITORY/releases/download/v$VERSION/" \