mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
ci(snap): correct runs-on definition for snap workflow (#2200)
This commit is contained in:
parent
cef91d2917
commit
3739713619
1 changed files with 5 additions and 9 deletions
14
.github/workflows/draft.yml
vendored
14
.github/workflows/draft.yml
vendored
|
|
@ -150,15 +150,11 @@ jobs:
|
||||||
arch:
|
arch:
|
||||||
- amd64
|
- amd64
|
||||||
- arm64
|
- arm64
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup sccache
|
- uses: canonical/setup-lxd@v0.1.2
|
||||||
uses: mozilla-actions/sccache-action@v0.0.6
|
|
||||||
|
|
||||||
- name: Setup LXD
|
|
||||||
uses: canonical/setup-lxd@v1
|
|
||||||
|
|
||||||
- name: Setup snapcraft
|
- name: Setup snapcraft
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -185,13 +181,13 @@ jobs:
|
||||||
cat snapcraft-yazi*.txt || echo "Could not find build log"
|
cat snapcraft-yazi*.txt || echo "Could not find build log"
|
||||||
|
|
||||||
- name: Rename snap
|
- name: Rename snap
|
||||||
run: mv yazi_*.snap yazi-${{ matrix.target }}.snap
|
run: mv yazi_*.snap yazi-${{ matrix.arch }}.snap
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: yazi-${{ matrix.target }}.snap
|
name: yazi-${{ matrix.arch }}.snap
|
||||||
path: yazi-${{ matrix.target }}.snap
|
path: yazi-${{ matrix.arch }}.snap
|
||||||
|
|
||||||
draft:
|
draft:
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue