mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
update release.yml to support snap package
This commit is contained in:
parent
9be3490eaf
commit
8e8155856e
1 changed files with 7 additions and 1 deletions
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
|
@ -51,6 +51,10 @@ jobs:
|
|||
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: /usr/bin/aarch64-linux-gnu-gcc
|
||||
run: cargo build --release --locked --target ${{ matrix.target }}
|
||||
|
||||
- name: Build-snap
|
||||
if: matrix.target == 'x86_64-unknown-linux-gnu'
|
||||
uses: snapcore/action-build@v1
|
||||
|
||||
- name: Pack artifacts [Linux & macOS]
|
||||
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
|
||||
env:
|
||||
|
|
@ -78,5 +82,7 @@ jobs:
|
|||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
draft: true
|
||||
files: yazi-${{ matrix.target }}.zip
|
||||
files: |
|
||||
yazi-${{ matrix.target }}.zip
|
||||
yazi*.snap
|
||||
generate_release_notes: true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue