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

View file

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