2023-11-16 10:59:27 +08:00
|
|
|
name: Updater CI
|
|
|
|
|
|
|
|
on: workflow_dispatch
|
2023-12-03 14:26:03 +08:00
|
|
|
permissions: write-all
|
2023-11-16 10:59:27 +08:00
|
|
|
jobs:
|
|
|
|
release-update:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Install Node
|
2024-05-06 13:49:12 +08:00
|
|
|
uses: actions/setup-node@v4
|
2023-11-16 10:59:27 +08:00
|
|
|
with:
|
|
|
|
node-version: "20"
|
|
|
|
|
|
|
|
- uses: pnpm/action-setup@v2
|
|
|
|
name: Install pnpm
|
|
|
|
with:
|
2024-05-06 13:49:12 +08:00
|
|
|
version: 9
|
2023-11-16 10:59:27 +08:00
|
|
|
run_install: false
|
|
|
|
|
|
|
|
- name: Pnpm install
|
|
|
|
run: pnpm i
|
|
|
|
|
|
|
|
- name: Release updater file
|
|
|
|
run: pnpm updater
|
|
|
|
env:
|
2023-11-22 14:52:14 +08:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2024-05-06 13:49:12 +08:00
|
|
|
|
|
|
|
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@v2
|
|
|
|
name: Install pnpm
|
|
|
|
with:
|
|
|
|
version: 9
|
|
|
|
run_install: false
|
|
|
|
|
|
|
|
- name: Pnpm install
|
|
|
|
run: pnpm i
|
|
|
|
|
|
|
|
- name: Release updater file
|
|
|
|
run: pnpm updater-fixed-webview2
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|