mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-12-27 12:35:38 +08:00
53 lines
1.1 KiB
YAML
53 lines
1.1 KiB
YAML
name: Updater CI
|
|
|
|
on: workflow_dispatch
|
|
permissions: write-all
|
|
jobs:
|
|
release-update:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install Node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "20"
|
|
|
|
- uses: pnpm/action-setup@v4
|
|
name: Install pnpm
|
|
with:
|
|
run_install: false
|
|
|
|
- name: Pnpm install
|
|
run: pnpm i
|
|
|
|
- name: Release updater file
|
|
run: pnpm updater
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
release-update-for-fixed-webview2:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install Node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "20"
|
|
|
|
- uses: pnpm/action-setup@v4
|
|
name: Install pnpm
|
|
with:
|
|
run_install: false
|
|
|
|
- name: Pnpm install
|
|
run: pnpm i
|
|
|
|
- name: Release updater file
|
|
run: pnpm updater-fixed-webview2
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|