Update build.yml
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user