mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-27 05:00:30 +08:00
fix ci
This commit is contained in:
parent
090e4d3cfa
commit
2734b4b443
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -102,8 +102,11 @@ jobs:
|
|||||||
dist/*.rpm
|
dist/*.rpm
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
- name: Rename
|
- name: Rename
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v') && matrix.arch == 'x64'
|
||||||
run: mv dist/linux-unpacked/resources/app.asar dist/mihomo-party-linux-$(echo ${{ github.ref }} | tr -d 'refs/tags/v')-${{ matrix.arch }}.asar
|
run: mv dist/linux-unpacked/resources/app.asar dist/mihomo-party-linux-$(echo ${{ github.ref }} | tr -d 'refs/tags/v')-${{ matrix.arch }}.asar
|
||||||
|
- name: Rename
|
||||||
|
if: startsWith(github.ref, 'refs/tags/v') && matrix.arch == 'arm64'
|
||||||
|
run: mv dist/linux-arm64-unpacked/resources/app.asar dist/mihomo-party-linux-$(echo ${{ github.ref }} | tr -d 'refs/tags/v')-${{ matrix.arch }}.asar
|
||||||
- name: Publish Release
|
- name: Publish Release
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user