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

26 lines
580 B
YAML
Raw Permalink Normal View History

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