clash-verge-rev/.github/workflows/updater.yml

30 lines
602 B
YAML
Raw Normal View History

2023-11-16 10:59:27 +08:00
name: Updater CI
on: workflow_dispatch
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
uses: actions/setup-node@v3
with:
node-version: "20"
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false
- name: Pnpm install
run: pnpm i
- name: Release updater file
run: pnpm updater
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}