ci: include winget manifest in releases
This commit is contained in:
1 parent
de6af2de18
commit
f226358b1c
2 files changed
+17
-2
No files matched your search
@@ -288,6 +288,7 @@ jobs:
|
||||
RELEASE_COMMIT: "${{ github.sha }}"
|
||||
CHANGELOG: "${{ steps.changelog.outputs.content }}"
|
||||
RELEASE_TAG: "${{ needs.plan.outputs.tag }}"
|
||||
APP_VERSION: "${{ fromJson(steps.host.outputs.manifest).releases[0].app_version }}"
|
||||
run: |
|
||||
echo "$CHANGELOG" > $RUNNER_TEMP/notes.txt
|
||||
cat >> $RUNNER_TEMP/notes.txt <<EOF
|
||||
@@ -321,6 +322,8 @@ jobs:
|
||||
winget install Objz.MclLauncher
|
||||
\`\`\`
|
||||
|
||||
The generated WinGet manifest is attached as \`winget-manifest-${APP_VERSION}.zip\` for local validation.
|
||||
|
||||
## Chocolatey
|
||||
|
||||
\`\`\`
|
||||
@@ -431,7 +434,7 @@ jobs:
|
||||
secrets: inherit
|
||||
# publish jobs get escalated permissions
|
||||
permissions:
|
||||
"contents": "read"
|
||||
"contents": "write"
|
||||
|
||||
custom-publish-chocolatey:
|
||||
needs:
|
||||
|
||||
Reference in new issue
Block a user