new: add winget
This commit is contained in:
34
.github/workflows/build.yml
vendored
34
.github/workflows/build.yml
vendored
@@ -54,11 +54,11 @@ jobs:
|
||||
targets: dmg
|
||||
filename: hiddify-macos-universal
|
||||
|
||||
- platform: ios
|
||||
os: macos-13
|
||||
aarch: universal
|
||||
filename: hiddify-ios
|
||||
targets: ipa
|
||||
# - platform: ios
|
||||
# os: macos-13
|
||||
# aarch: universal
|
||||
# filename: hiddify-ios
|
||||
# targets: ipa
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
@@ -339,6 +339,16 @@ jobs:
|
||||
ls -R ./.github/
|
||||
ls -R ./.git/
|
||||
mv out/hiddify-android-market.aab hiddify-android-market.aab
|
||||
unzip /out/hiddify-windows-x64-setup.zip
|
||||
|
||||
- name: Publish to WinGet
|
||||
uses: vedantmgoyal2009/winget-releaser@v2
|
||||
with:
|
||||
identifier: Hiddify.Next
|
||||
max-versions-to-keep: 5 # keep only latest 5 versions
|
||||
version: ${{ github.ref }}
|
||||
installers-regex: setup.exe
|
||||
token: ${{ secrets.WINGET_TOKEN }}
|
||||
|
||||
- name: prepare_release_message
|
||||
run: |
|
||||
@@ -371,10 +381,10 @@ jobs:
|
||||
releaseFiles: ./hiddify-android-market.aab
|
||||
track: internal
|
||||
|
||||
- name: "Upload app to TestFlight"
|
||||
uses: apple-actions/upload-testflight-build@v1
|
||||
with:
|
||||
app-path: "./hiddify-ios-universal.ipa"
|
||||
issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }}
|
||||
api-key-id: ${{ secrets.APPSTORE_API_KEY_ID }}
|
||||
api-private-key: ${{ secrets.APPSTORE_API_PRIVATE_KEY }}
|
||||
# - name: "Upload app to TestFlight"
|
||||
# uses: apple-actions/upload-testflight-build@v1
|
||||
# with:
|
||||
# app-path: "./hiddify-ios-universal.ipa"
|
||||
# issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }}
|
||||
# api-key-id: ${{ secrets.APPSTORE_API_KEY_ID }}
|
||||
# api-private-key: ${{ secrets.APPSTORE_API_PRIVATE_KEY }}
|
||||
|
||||
Reference in New Issue
Block a user