This commit is contained in:
sxyazi 2024-07-20 16:47:52 +08:00
parent 8638aa21a6
commit 1e247f9a5e
No known key found for this signature in database
2 changed files with 8 additions and 8 deletions

View file

@ -1,4 +1,4 @@
name: Release
name: Draft
on:
push:
@ -126,7 +126,7 @@ jobs:
name: yazi-${{ matrix.target }}.snap
path: yazi-${{ matrix.target }}.snap
release:
draft:
permissions:
contents: write
runs-on: ubuntu-latest
@ -136,7 +136,7 @@ jobs:
with:
merge-multiple: true
- name: Release
- name: Draft
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:

View file

@ -1,4 +1,4 @@
name: Release
name: Publish
on:
release:
@ -10,10 +10,10 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: yazi-*
merge: true
- name: Release to Winget
uses: vedantmgoyal2009/winget-releaser@v2
merge-multiple: true
- name: Publish to Winget
uses: vedantmgoyal9/winget-releaser@main
with:
identifier: sxyazi.yazi
installers-regex: 'yazi-(x86_64|aarch64)-pc-windows-msvc\.zip$'