chore: delete clash core, update CI, change profile name, change URL test link

This commit is contained in:
wonfen
2023-11-22 02:56:47 +08:00
Unverified
parent b767caa704
commit 01be65a624
31 changed files with 1327 additions and 974 deletions

View File

@@ -18,7 +18,7 @@ jobs:
matrix:
os: [windows-latest, ubuntu-20.04, macos-latest]
runs-on: ${{ matrix.os }}
if: startsWith(github.repository, 'zzzgydi')
if: startsWith(github.repository, 'wonfen')
steps:
- name: Checkout repository
uses: actions/checkout@v4

View File

@@ -13,10 +13,20 @@ env:
jobs:
release:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
include:
- os: windows-latest
portable: false
- os: windows-latest
portable: true
- os: ubuntu-latest
portable: false
- os: macos-latest
portable: false
runs-on: ${{ matrix.os }}
if: startsWith(github.repository, 'zzzgydi')
if: startsWith(github.repository, 'wonfen')
steps:
- name: Checkout repository
uses: actions/checkout@v4
@@ -50,6 +60,7 @@ jobs:
uses: tauri-apps/tauri-action@v0
# enable cache even though failed
# continue-on-error: true
if: matrix.portable == false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
@@ -60,12 +71,13 @@ jobs:
releaseBody: "More new features are now supported."
releaseDraft: false
prerelease: true
args: -f default-meta
- name: Portable Bundle
if: startsWith(matrix.os, 'windows-')
# rebuild with env settings
if: matrix.portable == true
run: |
yarn build
yarn install --network-timeout 1000000 --frozen-lockfile
yarn build -f default-meta
yarn run portable
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -74,10 +86,10 @@ jobs:
VITE_WIN_PORTABLE: 1
release-update:
needs: release
needs: [release]
runs-on: ubuntu-latest
if: |
startsWith(github.repository, 'zzzgydi') &&
startsWith(github.repository, 'wonfen') &&
startsWith(github.ref, 'refs/tags/v')
steps:
- name: Checkout repository

View File

@@ -24,7 +24,7 @@ jobs:
os: ubuntu-22.04
runs-on: ${{ matrix.targets.os }}
if: startsWith(github.repository, 'zzzgydi')
if: startsWith(github.repository, 'wonfen')
steps:
- name: Checkout repository
uses: actions/checkout@v2

View File

@@ -17,7 +17,7 @@ jobs:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
if: startsWith(github.repository, 'zzzgydi')
if: startsWith(github.repository, 'wonfen')
steps:
- name: Checkout repository
uses: actions/checkout@v2

View File

@@ -28,7 +28,7 @@ env:
jobs:
release:
runs-on: ${{ github.event.inputs.os }}
if: startsWith(github.repository, 'zzzgydi')
if: startsWith(github.repository, 'wonfen')
steps:
- name: System Version
run: |

View File

@@ -5,7 +5,7 @@ on: workflow_dispatch
jobs:
release-update:
runs-on: ubuntu-latest
if: startsWith(github.repository, 'zzzgydi')
if: startsWith(github.repository, 'wonfen')
steps:
- name: Checkout repository
uses: actions/checkout@v4