Update build.yml

This commit is contained in:
Hiddify
2023-11-15 18:33:18 +01:00
committed by GitHub
parent ad052693f5
commit 5cff03e3f5

View File

@@ -392,7 +392,7 @@ jobs:
with: with:
value: '${{ github.ref_name }}' value: '${{ github.ref_name }}'
regex: '^v|.dev$' regex: '^v|.dev$'
flags: '' # Optional, defaults to "g" flags: 'gi' # Optional, defaults to "g"
replacement: '' replacement: ''
- name: Winget Publish - name: Winget Publish
if: ${{ env.CHANNEL != 'dev' }} if: ${{ env.CHANNEL != 'dev' }}
@@ -410,7 +410,7 @@ jobs:
with: with:
publish-type: 'Update' publish-type: 'Update'
user: 'Hiddify' user: 'Hiddify'
package: 'Next' package: 'Next.Beta'
version: ${{ steps.version.outputs.value }} version: ${{ steps.version.outputs.value }}
url: 'https://github.com/hiddify/hiddify-next/releases/download/${{ github.ref_name }}/hiddify-windows-x64-setup.zip' url: 'https://github.com/hiddify/hiddify-next/releases/download/${{ github.ref_name }}/hiddify-windows-x64-setup.zip'
token: ${{ secrets.WINGET_TOKEN }} token: ${{ secrets.WINGET_TOKEN }}