chore: fix ci
This commit is contained in:
parent
2b6acedae1
commit
8174ab7616
5
.github/workflows/alpha.yml
vendored
5
.github/workflows/alpha.yml
vendored
@ -92,14 +92,13 @@ jobs:
|
|||||||
releaseName: "Clash Verge Alpha"
|
releaseName: "Clash Verge Alpha"
|
||||||
releaseBody: "Alpha Version (include debug)"
|
releaseBody: "Alpha Version (include debug)"
|
||||||
releaseDraft: false
|
releaseDraft: false
|
||||||
includeDebug: ${{ github.event.inputs.debug }}
|
|
||||||
prerelease: true
|
prerelease: true
|
||||||
args: -f default-meta
|
includeDebug: ${{ github.event.inputs.debug }}
|
||||||
|
|
||||||
- name: Portable Bundle
|
- name: Portable Bundle
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
run: |
|
run: |
|
||||||
yarn build -f default-meta
|
yarn build
|
||||||
yarn run portable
|
yarn run portable
|
||||||
env:
|
env:
|
||||||
TAG_NAME: alpha
|
TAG_NAME: alpha
|
||||||
|
35
.github/workflows/meta.yml
vendored
35
.github/workflows/meta.yml
vendored
@ -39,6 +39,23 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 16
|
||||||
|
|
||||||
|
- name: Delete current release assets
|
||||||
|
if: matrix.os == 'ubuntu-latest'
|
||||||
|
uses: mknejp/delete-release-assets@v1
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
tag: meta
|
||||||
|
fail-if-no-assets: false
|
||||||
|
fail-if-no-release: false
|
||||||
|
assets: |
|
||||||
|
*.zip
|
||||||
|
*.gz
|
||||||
|
*.AppImage
|
||||||
|
*.deb
|
||||||
|
*.dmg
|
||||||
|
*.msi
|
||||||
|
*.sig
|
||||||
|
|
||||||
- name: Install Dependencies (ubuntu only)
|
- name: Install Dependencies (ubuntu only)
|
||||||
if: startsWith(matrix.os, 'ubuntu-')
|
if: startsWith(matrix.os, 'ubuntu-')
|
||||||
run: |
|
run: |
|
||||||
@ -63,22 +80,6 @@ jobs:
|
|||||||
yarn install --network-timeout 1000000
|
yarn install --network-timeout 1000000
|
||||||
yarn run check
|
yarn run check
|
||||||
|
|
||||||
- name: Delete current release assets
|
|
||||||
uses: mknejp/delete-release-assets@v1
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
tag: meta
|
|
||||||
fail-if-no-assets: false
|
|
||||||
fail-if-no-release: false
|
|
||||||
assets: |
|
|
||||||
*.zip
|
|
||||||
*.gz
|
|
||||||
*.AppImage
|
|
||||||
*.deb
|
|
||||||
*.dmg
|
|
||||||
*.msi
|
|
||||||
*.sig
|
|
||||||
|
|
||||||
- name: Tauri build
|
- name: Tauri build
|
||||||
uses: tauri-apps/tauri-action@v0
|
uses: tauri-apps/tauri-action@v0
|
||||||
env:
|
env:
|
||||||
@ -99,7 +100,7 @@ jobs:
|
|||||||
yarn build -f default-meta
|
yarn build -f default-meta
|
||||||
yarn run portable
|
yarn run portable
|
||||||
env:
|
env:
|
||||||
TAG_NAME: alpha
|
TAG_NAME: meta
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
|
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
|
||||||
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
|
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
|
||||||
|
Loading…
Reference in New Issue
Block a user