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

26 lines
580 B
YAML
Raw Normal View History

2022-04-05 20:21:53 +08:00
name: Updater CI
on: workflow_dispatch
jobs:
release-update:
2023-01-14 22:22:18 +08:00
runs-on: ubuntu-latest
2022-04-05 20:21:53 +08:00
if: startsWith(github.repository, 'zzzgydi')
steps:
- name: Checkout repository
uses: actions/checkout@v4
2022-04-05 20:21:53 +08:00
2023-08-12 15:41:26 +08:00
- name: Install Node
uses: actions/setup-node@v4
2022-04-05 20:21:53 +08:00
with:
2023-08-12 15:41:26 +08:00
node-version: "16"
cache: "yarn"
2022-04-05 20:21:53 +08:00
- name: Yarn install
2023-08-12 15:41:26 +08:00
run: yarn install --network-timeout 1000000 --frozen-lockfile
2022-04-05 20:21:53 +08:00
- name: Release updater file
run: yarn run updater
2022-04-05 20:21:53 +08:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}