Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -392,3 +392,19 @@ jobs:
npm pkg set "optionalDependencies.@mobilenext/mobilecli-$platform=$GITHUB_REF_NAME"
done
npm publish --access public --provenance

winget:
if: github.ref_type == 'tag'
runs-on: windows-latest
needs: [publish]
permissions:
contents: read
steps:
# ponytail: first version must be submitted manually via `komac new`; this only updates existing manifests
- uses: vedantmgoyal9/winget-releaser@v2
with:
identifier: MobileNext.mobilecli
version: ${{ github.ref_name }}
release-tag: ${{ github.ref_name }}
installers-regex: 'windows-(amd64|arm64)\.zip$'
token: ${{ secrets.WINGET_TOKEN }}
Loading